Remove BLEGap, API function is taken by Bluefruit, BLEPeriph, BLECentral

This commit is contained in:
hathach committed 2019-02-01 16:16:20 +07:00
1 parent e40181e3e5
commit b7323d1819
19 files changed
+317 -479

No files matched your search

@@ -93,7 +93,7 @@ static void bledfu_control_wr_authorize_cb(BLECharacteristic* chr, ble_gatts_evt
(request->op != BLE_GATTS_OP_EXEC_WRITE_REQ_CANCEL))
{
uint16_t conn_hdl = Bluefruit.connHandle();
BLEConnection* conn = Bluefruit.Gap.Connection(conn_hdl);
BLEConnection* conn = Bluefruit.Connection(conn_hdl);
ble_gatts_rw_authorize_reply_params_t reply = { .type = BLE_GATTS_AUTHORIZE_TYPE_WRITE };