![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
prova invio
Dependencies: BLE_API X_NUCLEO_IDB0XA1 mbed
Fork of BLE_HeartRate_IDB04A1 by
Diff: main.cpp
- Revision:
- 22:a63bc66036d7
- Parent:
- 21:0e7c08f5386f
--- a/main.cpp Wed Oct 05 09:16:58 2016 +0000 +++ b/main.cpp Mon Feb 12 08:46:35 2018 +0000 @@ -20,7 +20,7 @@ DigitalOut led1(LED1, 1); -const static char DEVICE_NAME[] = "HRM1"; +const static char DEVICE_NAME[] = "HRM45"; static const uint16_t uuid16_list[] = {GattService::UUID_HEART_RATE_SERVICE}; static volatile bool triggerSensorPolling = false; @@ -91,6 +91,10 @@ } // update bps + // hrService.updateHeartRate(hrmCounter); + //hrmCounter=0x34; + hrmCounter=0x53; + //5361792048656c6c6f20746f204d79204c6974746c6520467269656e64 hrService.updateHeartRate(hrmCounter); } else { ble.waitForEvent(); // low power wait for event