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

Dependencies:   BLE_API mbed nRF51822

Fork of mbed_EddystoneURL_Beacon_ssci by Mako SHIMURA

Files at this revision

API Documentation at this revision

Comitter:
switchscience
Date:
Fri Feb 26 02:07:10 2016 +0000
Parent:
3:159eb1a94bbb
Commit message:
changed URL

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 159eb1a94bbb -r f3240aba456c main.cpp
--- a/main.cpp	Wed Feb 24 09:08:53 2016 +0000
+++ b/main.cpp	Fri Feb 26 02:07:10 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://ssci.to", defaultAdvPowerLevels);
+    eddystoneUrlConfig= new EddystoneURLConfigService(ble, params, !fetchedFromPersistentStorage, "https://www.switch-science.com", defaultAdvPowerLevels);
     if (!eddystoneUrlConfig->configuredSuccessfully()) {
         error("failed to accommodate URI");
     }