スイッチサイエンスマガジン用プログラム。 Switch Science mbed TY51822r3を使って、Eddystoneを動かしています。

Dependencies:   BLE_API mbed nRF51822

Fork of mbed_EddystoneURL_Beacon_ssci by Mako SHIMURA

Revision:
3:159eb1a94bbb
Parent:
2:420532c6dd54
Child:
4:f3240aba456c
--- a/main.cpp	Wed Aug 19 04:41:21 2015 +0000
+++ b/main.cpp	Wed Feb 24 09:08:53 2016 +0000
@@ -77,7 +77,7 @@
 
     /* Initialize a Eddystone URL Config service providing config params, default URI, and power levels. */
     static EddystoneURLConfigService::PowerLevels_t defaultAdvPowerLevels = {-20, -4, 0, 10}; // Values for ADV packets related to firmware levels
-    eddystoneUrlConfig= new EddystoneURLConfigService(ble, params, !fetchedFromPersistentStorage, "http://physical-web.org", defaultAdvPowerLevels);
+    eddystoneUrlConfig= new EddystoneURLConfigService(ble, params, !fetchedFromPersistentStorage, "http://ssci.to", defaultAdvPowerLevels);
     if (!eddystoneUrlConfig->configuredSuccessfully()) {
         error("failed to accommodate URI");
     }