Hello,
SDK51 appears to be an inconsistency with how various BLE related events are handled in the SDK. Multiple BLE event handlers may be registered using the NRF_SDH_BLE_OBSERVER macro. This is great because it enables modules to implement their own BLE event handling.
NRF_SDH_BLE_OBSERVER does not provide access to the following events:
- BLE Advertising events
- GATT events (GAP, GATTC and GATTS are...?)
- Connection Parameter events
You may provide an event handler in the init call. However this is not the same as registering a BLE event observer.
Can someone explain the rational behind this architecture? It seems that either the BLE observer should receive all events or you should have the ability to register observers.
Thanks