mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-12 00:57:21 +00:00
BLE Host - Additional debug logging.
X-Original-Commit: 519e5164bbee1e3c75e679f9d5dc1201af3b8f93
This commit is contained in:
@@ -918,7 +918,20 @@ ble_att_clt_tx_write_cmd(uint16_t conn_handle,
|
|||||||
return BLE_HS_ENOTSUP;
|
return BLE_HS_ENOTSUP;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
uint8_t b;
|
||||||
int rc;
|
int rc;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
BLE_HS_LOG(DEBUG, "ble_att_clt_tx_write_cmd(): ");
|
||||||
|
for (i = 0; i < OS_MBUF_PKTLEN(txom); i++) {
|
||||||
|
if (i != 0) {
|
||||||
|
BLE_HS_LOG(DEBUG, ":");
|
||||||
|
}
|
||||||
|
rc = os_mbuf_copydata(txom, i, 1, &b);
|
||||||
|
assert(rc == 0);
|
||||||
|
BLE_HS_LOG(DEBUG, "0x%02x", b);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
rc = ble_att_clt_tx_write_req_or_cmd(conn_handle, req, txom, 0);
|
rc = ble_att_clt_tx_write_req_or_cmd(conn_handle, req, txom, 0);
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user