Button initiated config service

Dependencies:   BLE_API_EddystoneConfigService_2 mbed nRF51822

Fork of BLE_EddystoneBeaconConfigService_3 by URIBeacon

Files at this revision

API Documentation at this revision

Comitter:
mbedAustin
Date:
Thu Sep 03 02:55:49 2015 +0000
Parent:
36:ccb188bcfef1
Child:
38:8fdb16f67e7c
Commit message:
changed thing to make UID's work correctly;

Changed in this revision

BLE_API.lib Show annotated file Show diff for this revision Revisions of this file
EddystoneConfigService.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/BLE_API.lib	Wed Sep 02 22:22:31 2015 +0000
+++ b/BLE_API.lib	Thu Sep 03 02:55:49 2015 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8a542f0ebf3f
+http://mbed.org/teams/Bluetooth-Low-Energy/code/BLE_API/#8cea5d9c12c0
--- a/EddystoneConfigService.h	Wed Sep 02 22:22:31 2015 +0000
+++ b/EddystoneConfigService.h	Thu Sep 03 02:55:49 2015 +0000
@@ -75,9 +75,9 @@
 
     // UID Frame Type subfields
     static const int UID_NAMESPACEID_SIZE = 10;
-    typedef size_t  UIDNamespaceID_t[UID_NAMESPACEID_SIZE];
+    typedef uint8_t  UIDNamespaceID_t[UID_NAMESPACEID_SIZE];
     static const int UID_INSTANCEID_SIZE = 6;
-    typedef size_t  UIDInstanceID_t[UID_INSTANCEID_SIZE];
+    typedef uint8_t  UIDInstanceID_t[UID_INSTANCEID_SIZE];
 
     // Eddystone Frame Type ID
     static const uint8_t FRAME_TYPE_UID = 0x00;
--- a/main.cpp	Wed Sep 02 22:22:31 2015 +0000
+++ b/main.cpp	Thu Sep 03 02:55:49 2015 +0000
@@ -32,7 +32,7 @@
  *
  * The following help with this switch.
  */
-static const int CONFIG_ADVERTISEMENT_TIMEOUT_SECONDS = 10;  // Duration after power-on that config service is available.
+static const int CONFIG_ADVERTISEMENT_TIMEOUT_SECONDS = 5;  // Duration after power-on that config service is available.
 Ticker configAdvertisementTimeout;
 
 /**