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.
Dependencies: BLE_API X_NUCLEO_6180XA1 X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB0XA1 by
Revision 30:e324e95c68a9, committed 2017-02-02
- Comitter:
- hux
- Date:
- Thu Feb 02 17:35:34 2017 +0000
- Parent:
- 29:cf61a5826426
- Commit message:
- Final Version 2.0 of S16_Blue_ToF
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Feb 01 22:35:28 2017 +0000
+++ b/main.cpp Thu Feb 02 17:35:34 2017 +0000
@@ -33,7 +33,7 @@
}
}
- void services(O&o)
+ void services(Blob &o)
{
enroll(o,detection); // enroll detection service
enroll(o,debug); // enroll debug service
@@ -52,7 +52,7 @@
static void cbRise(void)
{
- O o; // declare a blob (BLE OBject)
+ Blob o; // declare a blob (BLE OBject)
Bool value = 0;
if (o.hasInitialized())
@@ -65,7 +65,7 @@
static void cbFall(void)
{
- O o; // declare a blob (BLE OBject)
+ Blob o; // declare a blob (BLE OBject)
Bool value = 1;
if (o.hasInitialized())
@@ -110,7 +110,7 @@
onDisconnect(o,cbDisconnect); // setup disconnection callback
device(o,"S16#2.0 Blue TOF");
- name(o,"TOF HR");
+ name(o,"Blue TOF");
advertise(o,"C:ng",100); // start advertising @ 100 msec interval
blink.advertise(); // 'advertise' blink sequence
