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.h
- Revision:
- 5:8e468fef2754
- Parent:
- 4:3041a571b7a7
- Child:
- 6:c454f88524d6
diff -r 3041a571b7a7 -r 8e468fef2754 RN52.h --- a/RN52.h Tue Jan 05 22:10:16 2016 +0000 +++ b/RN52.h Mon Jan 11 20:49:59 2016 +0000 @@ -4,14 +4,7 @@ typedef enum { - RN52_PLAYPAUSE, - RN52_NEXTTRACK, - RN52_PREVTRACK, - RN52_CONNECT, - RN52_DISCONNECT, RN52_REBOOT, - RN52_VOLUMEUP, - RN52_MAXVOLUME, RN52_GETSTATUS, RN52_ASSISTANT, RN52_CALLER_ID, @@ -77,9 +70,14 @@ public: void init(); bool check_event(RN52_RESULT * rn52_result); - bool set(RN52_COMMAND cmd); + bool connect(); + bool disconnect(); + bool next_track(); + bool prev_track(); + bool toggle_play(); + bool maxvolume(); bool get(RN52_COMMAND cmd, RN52_RESULT * rn52_result); - void capture_response(char * str); + bool capture_response(char * str); }; #endif \ No newline at end of file