remove a getPeerAddr(uint8_t[6]) variant
This commit is contained in:
5 files changed
+3
-22
No files matched your search
@@ -98,12 +98,6 @@ ble_gap_addr_t BLEConnection::getPeerAddr (void)
|
||||
return _addr;
|
||||
}
|
||||
|
||||
uint8_t BLEConnection::getPeerAddr (uint8_t addr[6])
|
||||
{
|
||||
memcpy(addr, _addr.addr, BLE_GAP_ADDR_LEN);
|
||||
return _addr.addr_type;
|
||||
}
|
||||
|
||||
bool BLEConnection::disconnect(void)
|
||||
{
|
||||
return ERROR_NONE == sd_ble_gap_disconnect(_conn_hdl, BLE_HCI_REMOTE_USER_TERMINATED_CONNECTION);
|
||||
|
||||
Reference in new issue
Block a user