High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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

ble/services/EddystoneConfigService.h Show annotated file Show diff for this revision Revisions of this file
ble/services/EddystoneService.h Show annotated file Show diff for this revision Revisions of this file
--- 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) {