enum bt_hids_pm_evt evt

When I was studying Zephyr, I found that some of the enumerations used by Nordic couldn't be found in Zephyr, so I was wondering if Noridc had encapsulated them in Zephyr's Bluetooth protocol stack?? Because I found it on Nordic's official website.


static void hids_pm_evt_handler( enum bt_hids_pm_evt evt,struct bt_conn* conn)


For example, the enum bt_ hids_pm_ evt and even the connected structure in this function were not found, but they were found in the Nordic documentation.


Another question is, is Zephyr's Bluetooth protocol stack open source?? Do we need to see if the implementation path of the entire Bluetooth protocol stack is in

\ ncs \ v3.0.2 \ Zephyr \ super sys \ Bluetooth \ services

Parents
  • Hi,

    The nRF Connect SDK include Zephyr (which is the main component), but also adds a lot of additional compoents around it, including Bluetooth service implementations. bt_hids_pm_evt for instance is part of the HIDS service implementation which is implemnted by Nordic (and part of the sdk-nrf repository) and not part of Zephyr (sdk-zephyr).

    Zephyr includes an open source Bluetooth stack yes, both a host and controller. But please note that the only supported Bluetooth controller in the nRF Connect SDK is the SoftDevice Controller, which is a propritary controller develiped by Nordic.

    You can see an overview of how nRF Connect SDK integrates Zephyr and the other main comonents here.

Reply
  • Hi,

    The nRF Connect SDK include Zephyr (which is the main component), but also adds a lot of additional compoents around it, including Bluetooth service implementations. bt_hids_pm_evt for instance is part of the HIDS service implementation which is implemnted by Nordic (and part of the sdk-nrf repository) and not part of Zephyr (sdk-zephyr).

    Zephyr includes an open source Bluetooth stack yes, both a host and controller. But please note that the only supported Bluetooth controller in the nRF Connect SDK is the SoftDevice Controller, which is a propritary controller develiped by Nordic.

    You can see an overview of how nRF Connect SDK integrates Zephyr and the other main comonents here.

Children
Related