Followed lateest libraries (BLE ,mbed and nRF51822)
Dependencies: BLE_API mbed nRF51822 BLE_HTM_by_InTempSensr_pub
Dependents: BLE_HTM_by_InTempSensr_pub
Fork of BLE_HTM_by_InTempSensr by
Diff: main.cpp
- Revision:
- 8:ae7255b477e6
- Parent:
- 7:b8e9a93ba3b5
--- a/main.cpp Wed Aug 26 02:04:52 2015 +0000 +++ b/main.cpp Thu Aug 27 13:33:42 2015 +0000 @@ -61,7 +61,7 @@ GattCharacteristic *battChars[] = {&battLevel, }; GattService battService(GattService::UUID_BATTERY_SERVICE, battChars, sizeof(battChars) / sizeof(GattCharacteristic *)); -static const uint16_t uuid16_list[] = {GattService::UUID_HEALTH_THERMOMETER_SERVICE, GattService::UUID_BATTERY_SERVICE, GattService::UUID_HEALTH_THERMOMETER_SERVICE + 0x1000 }; +static const uint16_t uuid16_list[] = {GattService::UUID_HEALTH_THERMOMETER_SERVICE, GattService::UUID_BATTERY_SERVICE}; static volatile bool triggerSensorPolling = false; /* set to high periodically to indicate to the main thread that * polling is necessary. */