rename BLEGapConnection to BLEConnection, move to seperate files

This commit is contained in:
hathach committed 2019-01-18 12:31:40 +07:00
1 parent 6578b3a37f
commit 4e5f419474
11 files changed
+187 -98

No files matched your search

@@ -94,7 +94,7 @@ static void bledfu_control_wr_authorize_cb(BLECharacteristic& chr, ble_gatts_evt
{
uint16_t conn_hdl = Bluefruit.connHandle();
BLEGapConnection* conn = Bluefruit.Gap.getConnection(conn_hdl);
BLEConnection* conn = Bluefruit.Gap.getConnection(conn_hdl);
ble_gatts_rw_authorize_reply_params_t reply = { .type = BLE_GATTS_AUTHORIZE_TYPE_WRITE };