From 4fe124f2031c5494a5cc482662ea0994e4138f3d Mon Sep 17 00:00:00 2001 From: Andres Amaya Garcia Date: Mon, 2 Nov 2015 16:36:18 +0000 Subject: [PATCH] Use correct not-implemented value for Voltage/Temp --- ble/services/EddystoneConfigService.h | 2 +- ble/services/EddystoneService.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ble/services/EddystoneConfigService.h b/ble/services/EddystoneConfigService.h index 19a8980..977edac 100644 --- a/ble/services/EddystoneConfigService.h +++ b/ble/services/EddystoneConfigService.h @@ -215,7 +215,7 @@ public: 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; diff --git a/ble/services/EddystoneService.h b/ble/services/EddystoneService.h index 10ae043..55c7172 100644 --- a/ble/services/EddystoneService.h +++ b/ble/services/EddystoneService.h @@ -237,7 +237,7 @@ public: 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) {