![](/media/cache/profiles/f0fcf351df4eb6786e9bb6fc4e2dee02.jpg.50x50_q85.jpg)
Pair function with BLE_Paired_Client. If missing BLE_Paired_Server side, Client side of BZ will ON for notice.
Dependencies: BLE_API mbed nRF51822 nRF51_LowPwr nRF51_Vdd
Fork of BLE_GATT_Example by
Diff: main.cpp
- Revision:
- 16:feee85aefb34
- Parent:
- 13:62b1d32745ac
- Child:
- 17:32973972d2dd
--- a/main.cpp Wed Mar 18 21:02:38 2015 +0000 +++ b/main.cpp Thu Apr 02 17:23:10 2015 +0000 @@ -71,7 +71,7 @@ ble.setAdvertisingType(GapAdvertisingParams::ADV_CONNECTABLE_UNDIRECTED); // advertising type ble.accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LOCAL_NAME, (uint8_t *)DEVICE_NAME, sizeof(DEVICE_NAME)); // add name ble.accumulateAdvertisingPayload(GapAdvertisingData::COMPLETE_LIST_16BIT_SERVICE_IDS, (uint8_t *)uuid16_list, sizeof(uuid16_list)); // UUID's broadcast in advertising packet - ble.setAdvertisingInterval(160); /* 100ms; in multiples of 0.625ms. */ + ble.setAdvertisingInterval(0.1); // 100ms. // add our custom service ble.addService(customService);