This commit is contained in:
hathach committed 2018-01-25 14:58:04 +07:00
1 parent 30316870d3
commit 62b80b084b
2 files changed
+10 -4

No files matched your search

+6
View File
@@ -177,6 +177,12 @@ void dbgPrintVersion(void)
/******************************************************************************/
void dbgDumpMemory(void const *buf, uint8_t size, uint16_t count, bool printOffset)
{
if ( !buf )
{
cprintf("NULL\n");
return;
}
uint8_t const *buf8 = (uint8_t const *) buf;
char format[] = "%00lX";
+4 -4
View File
@@ -67,11 +67,11 @@ class BLEGap
uint16_t getPeerName (uint16_t conn_handle, char* buf, uint16_t bufsize);
uint16_t getMTU (uint16_t conn_handle);
uint16_t getMaxMtuByConnCfg (uint8_t conn_cfg);
uint16_t getMaxMtu (uint8_t conn_handle);
uint16_t getMaxMtuByConnCfg (uint8_t conn_cfg);
uint16_t getMaxMtu (uint8_t conn_handle);
uint8_t getHvnQueueSize (uint8_t conn_handle);
uint8_t getWriteCmdQueueSize (uint8_t conn_handle);
uint8_t getHvnQueueSize (uint8_t conn_handle);
uint8_t getWriteCmdQueueSize (uint8_t conn_handle);
bool getHvnPacket (uint16_t conn_handle);
bool getWriteCmdPacket (uint16_t conn_handle);