Ver código fonte

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

* Fix bug in nvs deletion of `ble_dev_record`.
Prasad Alatkar 4 anos atrás
pai
commit
3dfcaee9bd

+ 1 - 1
components/bt/host/nimble/nimble

@@ -1 +1 @@
-Subproject commit 1b808fcb809c6ceb74c83c0a09f07a63580ca91c
+Subproject commit f04c92400a44ee16e6ee6c02e9247f6d3e213dda

+ 2 - 1
examples/bluetooth/nimble/blecent/main/main.c

@@ -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: