スイッチサイエンスマガジン用プログラム。 Switch Science mbed TY51822r3を使って、Eddystoneを動かしています。
Dependencies: BLE_API mbed nRF51822
Fork of mbed_EddystoneURL_Beacon_ssci by
Diff: main.cpp
- Revision:
- 4:f3240aba456c
- Parent:
- 3:159eb1a94bbb
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"); }