Possibility to Run Amazon Sidewalk & BLE simultaneously within application

Hi,


As per new additional requirement in one of my Projects we need to add up Amazon Sidewalk functionality to make device online.(Currently device supports BLE)

I wanted to understand:


1) Is It possible to Run Amazon Sidewalk & BLE simultaneously within Single application on nRF52840. (Possibility to add up both  2.4Ghz & Sub-GhZ for short and long distance communication)

2) If yes what modifications are needed

Parents
  • Hi,

    Simultaneous protocols are not expected to work with Sidewalk out of the box. So you might need to do some changes.

    Sidewalk takes control over the BLE, so you have to create a shim layer that will sort out the connections, advertisements, and BLE events between the Sidewalk and another application. You can start by investigating Sidewalk files that handle BLE communication. Those files can be found in `sidewalk/subsys/sal/sid_pal/src/sid_ble*.

     Keep aware that Sidewalk do not expect any other connections, and treats BLE as if it is owned, so for example when Sidewalk requests deinitialization of BLE, We call the bt_disable(), and this will close the whole ble, so this would have to be taken into consideration.

Reply
  • Hi,

    Simultaneous protocols are not expected to work with Sidewalk out of the box. So you might need to do some changes.

    Sidewalk takes control over the BLE, so you have to create a shim layer that will sort out the connections, advertisements, and BLE events between the Sidewalk and another application. You can start by investigating Sidewalk files that handle BLE communication. Those files can be found in `sidewalk/subsys/sal/sid_pal/src/sid_ble*.

     Keep aware that Sidewalk do not expect any other connections, and treats BLE as if it is owned, so for example when Sidewalk requests deinitialization of BLE, We call the bt_disable(), and this will close the whole ble, so this would have to be taken into consideration.

Children
No Data
Related