How to receive HCI events in a single thread with nrf connect SDK

I am planning to migrate from the nRF5 SDK to the nrf connect SDK.

My application is processing events from SoftDevice on a single thread.

In the same way, please tell me how to receive HCI events in a single thread with the nrf connect SDK.

Parents Reply
  • I will change the way the question is asked.

    nrf connect SDK defines a number of BLE events (in other words, callback functions).

    for example,
    bt_le_scan_cb_t
    bt_le_ext_adv_cb
    bt_le_per_adv_sync_cb
    bt_gatt_cb
    bt_gatt_attr_read_func_t
    bt_gatt_attr_write_func_t

    I want to know how many threads are calling these.

    I find it annoying to have to do lock processing every time I process a BLE event.

    Most callbacks appear to be called from the System Workqueue.

Children
Related