This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Concurrent protocols and disableing Bluetooth

Dear Nordic developers,

I'm developing multiprotocol application by combining BLE and a proprietary protocol by using timeslots. In my project I need to disable BLE for one hour and use only our proprietary protocol than return again to a initial state to timeslots. (To listen whether there is a radio packets, or advertise BLE channels ready for BLE connection). Timeslots can be extended up to 128 s but I need more. Should I disable softdevice or is there another way to do that?

I'd really appreciate any advice. Thanks Gor

Parents
  • @Chinargor: You don't really have to disable bluetooth stack because it doesn't do any harm or much current consumption when you have no bluetooth activity (no connection and stop advertising). The only thing may runs when you enable softdevice and use timeslot is the RTC timer.

    If you want to eliminiate that you can try to not to use timeslot at the period when you don't use BLE (because if you disable softdevice, timeslot won't work). So you would need to set a flag, and when you are in the non-concurent mode, you just use the radio directly without any timeslot.

Reply
  • @Chinargor: You don't really have to disable bluetooth stack because it doesn't do any harm or much current consumption when you have no bluetooth activity (no connection and stop advertising). The only thing may runs when you enable softdevice and use timeslot is the RTC timer.

    If you want to eliminiate that you can try to not to use timeslot at the period when you don't use BLE (because if you disable softdevice, timeslot won't work). So you would need to set a flag, and when you are in the non-concurent mode, you just use the radio directly without any timeslot.

Children
Related