clean up
This commit is contained in:
2 files changed
-6
No files matched your search
@@ -38,7 +38,6 @@
|
||||
|
||||
BLEGap::BLEGap(void)
|
||||
{
|
||||
memclr(_peers, sizeof(_peers));
|
||||
memclr(_connection, sizeof(_connection));
|
||||
|
||||
_prph.mtu_max = BLE_GATT_ATT_MTU_DEFAULT;
|
||||
@@ -208,9 +207,6 @@ void BLEGap::_eventHandler(ble_evt_t* evt)
|
||||
_connection[conn_hdl] = new BLEConnection(conn_hdl, para, hvn_qsize, wrcmd_qsize);
|
||||
conn = _connection[conn_hdl];
|
||||
|
||||
// FIXME to remove
|
||||
_peers[conn_hdl].role = para->role;
|
||||
|
||||
LOG_LV2("GAP", "Conn Interval= %f", para->conn_params.min_conn_interval*1.25f);
|
||||
|
||||
// Invoke connect callback
|
||||
|
||||
@@ -112,8 +112,6 @@ class BLEGap
|
||||
disconnect_callback_t disconnect_cb;
|
||||
} _prph, _central;
|
||||
|
||||
gap_peer_t _peers[BLE_MAX_CONN];
|
||||
|
||||
ble_gap_sec_params_t _sec_param;
|
||||
|
||||
BLEConnection* _connection[BLE_MAX_CONN];
|
||||
|
||||
Reference in new issue
Block a user