![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Tp2
Dependencies: BLE_API mbed nRF51822
Fork of nRF51822_SimpleControls by
Diff: main.cpp
- Revision:
- 7:981ac713c8c4
- Parent:
- 6:c4097f6642cf
- Child:
- 8:65a6e2c3ed79
--- a/main.cpp Wed Oct 19 10:02:02 2016 +0000 +++ b/main.cpp Wed Oct 19 10:10:26 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 *)"Sabi", sizeof("Sabi") - 1); + (const uint8_t *)"Abina", sizeof("Abina") - 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.