Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: RN52.cpp
- Revision:
- 1:63db3f3124d4
- Parent:
- 0:6cf6e566c0da
- Child:
- 2:10c60edc8573
--- a/RN52.cpp Mon Jan 04 15:31:12 2016 +0000 +++ b/RN52.cpp Mon Jan 04 18:54:24 2016 +0000 @@ -78,7 +78,7 @@ serial.printf(GETSTATUS); capture_response(result->response); result->media_connected = (result->response[0] & (1 << 2)) >> 2; - result->phone_connected = (result->response[0] & (1 << 3)) >> 23; + result->phone_connected = (result->response[0] & (1 << 3)) >> 3; result->connection = (RN52_CONNECTION)(result->response[0] & 0x0F); if((result->response[0] & (1 << 4)) >> 4) { result->event = RN52_CALLER_ID_EVENT;