High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 869:b7ed649aed19, committed 2015-11-02
- Comitter:
- rgrover1
- Date:
- Mon Nov 02 17:51:41 2015 +0000
- Parent:
- 868:bbc33d099e5e
- Child:
- 870:097a9f627432
- Commit message:
- Synchronized with git rev 4fe124f2
Author: Andres Amaya Garcia
Use correct not-implemented value for Voltage/Temp
Changed in this revision
--- a/ble/services/EddystoneConfigService.h Mon Nov 02 17:51:41 2015 +0000 +++ b/ble/services/EddystoneConfigService.h Mon Nov 02 17:51:41 2015 +0000 @@ -215,7 +215,7 @@ DBG("Setting Default TLM Data, version = %d, advPeriodInMind= %f", tlmVersionIn, advPeriodInSec); defaultTlmVersion = tlmVersionIn; TlmBatteryVoltage = 0; - TlmBeaconTemp = 0; + TlmBeaconTemp = 0x8000; TlmPduCount = 0; TlmTimeSinceBoot = 0; defaultTlmAdvPeriod = advPeriodInSec;
--- a/ble/services/EddystoneService.h Mon Nov 02 17:51:41 2015 +0000 +++ b/ble/services/EddystoneService.h Mon Nov 02 17:51:41 2015 +0000 @@ -237,7 +237,7 @@ void setTLMFrameData(uint8_t version = 0, float advPeriod = 60.0f, uint16_t batteryVoltage = 0, - uint16_t beaconTemp = 0, + uint16_t beaconTemp = 0x8000, uint32_t pduCount = 0, uint32_t timeSinceBoot = 0) { if (0.0f == advPeriod) {