Button initiated config service
Dependencies: BLE_API_EddystoneConfigService_2 mbed nRF51822
Fork of BLE_EddystoneBeaconConfigService_3 by
Diff: main.cpp
- Revision:
- 29:dfb7fb5a971b
- Parent:
- 28:af37cebcb583
- Child:
- 30:6c2db8bf5b17
--- a/main.cpp Fri Jul 24 03:12:21 2015 +0000 +++ b/main.cpp Fri Jul 24 03:36:45 2015 +0000 @@ -21,12 +21,12 @@ BLE ble; uint8_t UIDnamespace[] = {0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99,0xAA}; // 10Bytes for Namespace UUID uint8_t UIDinstance[] = {0xbb,0xcc,0xdd,0xee,0xff,0x00}; // 6Bytes for Instance UUID - char Url[] = "www.mbed.org"; +//char Url[] = "www.mbed.org"; int main(void) { printf("Starting Example\r\n"); - EddystoneService eddyBeacon(ble, 100, 10,UIDnamespace, UIDinstance, Url, sizeof(Url)); + EddystoneService eddyBeacon(ble, 1000, 10,UIDnamespace, UIDinstance, "http://www.mbed.org", sizeof("http://www.mbed.org")); printf("Running...\r\n"); while (true) { ble.waitForEvent();