fork BLE_API to add update adv payload API
Fork of BLE_API by
Diff: public/BLE.h
- Revision:
- 556:34fa32a420f9
- Parent:
- 554:59e95a0efa37
- Child:
- 563:62cc3335df23
--- a/public/BLE.h Fri Jun 19 15:52:10 2015 +0100 +++ b/public/BLE.h Fri Jun 19 15:52:10 2015 +0100 @@ -444,15 +444,6 @@ * ble.gap().startAdvertising(...). */ ble_error_t startAdvertising(void) { - /* HACK ALERT! the following bit with initializeGATTDatabase() is additional to - * gap().startAdvertising(). This was put in place to get some stacks to - * work--like CSR. We need to reach a point where this shouldn't be - * necessary. */ - ble_error_t rc; - if ((rc = transport->getGattServer().initializeGATTDatabase()) != BLE_ERROR_NONE) { - return rc; - } - return gap().startAdvertising(); }