rename
This commit is contained in:
1 parent
5bd0b4dd87
commit
f973a13aaf
3 files changed
+6
-6
No files matched your search
@@ -53,12 +53,12 @@ bool BLEGap::getTxPacket(uint16_t conn_handle)
|
||||
return xSemaphoreTake(_txpacket_sem[conn_handle], ms2tick(BLE_GENERIC_TIMEOUT));
|
||||
}
|
||||
|
||||
uint16_t BLEGap::getPeerDevName(char* buf, uint16_t bufsize)
|
||||
uint16_t BLEGap::getPeerName(char* buf, uint16_t bufsize)
|
||||
{
|
||||
return getPeerDevName(Bluefruit.connHandle(), buf, bufsize);
|
||||
return getPeerName(Bluefruit.connHandle(), buf, bufsize);
|
||||
}
|
||||
|
||||
uint16_t BLEGap::getPeerDevName(uint16_t conn_handle, char* buf, uint16_t bufsize)
|
||||
uint16_t BLEGap::getPeerName(uint16_t conn_handle, char* buf, uint16_t bufsize)
|
||||
{
|
||||
return Bluefruit.Gatt.readCharByUuid(conn_handle, BLEUuid(BLE_UUID_GAP_CHARACTERISTIC_DEVICE_NAME), buf, bufsize);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user