NimBLE: Add custom logging support and fix build error for broadcaster role

* Fix bug in nvs deletion of `ble_dev_record`.
This commit is contained in:
Prasad Alatkar
2021-05-13 18:01:01 +08:00
committed by Jiang Jiang Jian
parent 266a5e48f7
commit 3dfcaee9bd
2 changed files with 3 additions and 2 deletions

View File

@@ -463,7 +463,8 @@ blecent_gap_event(struct ble_gap_event *event, void *arg)
event->notify_rx.attr_handle,
OS_MBUF_PKTLEN(event->notify_rx.om));
/* Attribute data is contained in event->notify_rx.attr_data. */
/* Attribute data is contained in event->notify_rx.om. Use
* `os_mbuf_copydata` to copy the data received in notification mbuf */
return 0;
case BLE_GAP_EVENT_MTU: