![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Tp2
Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleControls by
Diff: main.cpp
- Revision:
- 4:432a9a16b97d
- Parent:
- 3:823f105078c7
- Child:
- 5:302c11f6829b
diff -r 823f105078c7 -r 432a9a16b97d main.cpp --- a/main.cpp Thu Jan 07 02:49:37 2016 +0000 +++ b/main.cpp Wed Oct 19 09:48:02 2016 +0000 @@ -200,7 +200,7 @@ ble.accumulateAdvertisingPayload(GapAdvertisingData::BREDR_NOT_SUPPORTED); ble.setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED); ble.accumulateAdvertisingPayload(GapAdvertisingData::SHORTENED_LOCAL_NAME, - (const uint8_t *)"Biscuit", sizeof("Biscuit") - 1); + (const uint8_t *)"SabFa", sizeof("SabFa") - 1); ble.accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LIST_128BIT_SERVICE_IDS, (const uint8_t *)uart_base_uuid_rev, sizeof(uart_base_uuid)); // 100ms; in multiples of 0.625ms.