Tp2
Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleControls by
Diff: main.cpp
- Revision:
- 5:302c11f6829b
- Parent:
- 4:432a9a16b97d
- Child:
- 6:c4097f6642cf
diff -r 432a9a16b97d -r 302c11f6829b main.cpp --- a/main.cpp Wed Oct 19 09:48:02 2016 +0000 +++ b/main.cpp Wed Oct 19 09:58:14 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 *)"SabFa", sizeof("SabFa") - 1); + (const uint8_t *)"Sab", sizeof("Sab") - 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.