This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Help on CC2541 Dual Mode Peripheral+Broadcaster

Other Parts Discussed in Thread: CC2541

Hi,

My requirement is to work  CC2541 Board in Dual Mode as Peripheral+Broadcaster.But it is not working.I have enabled PLUS_BROADCASTER in compile options in SimpleBLEPeripheral Project. While in a connection it is not broadcasting.

Can anyone please tell me whether BLE 1.4 stack supports Dual Mode.If so, please help me to do this.

Thanks.

Regards,

Anuhya. 

  • Hi Anuhya,
    You do not need the PLUS_BROADCASTER define, it's from legacy stack versions (the peripheral.c version that gets compiled in with this define is actually broken). You should be able to just start advertise once in a connection to broadcast information, with the SimpleBLEPeripleral as is.

    Best Regards
    Joakim
  • HI,
    I am able to broadcast even while CC2541 peripheral is in connection.I have used SimpleBLEPeripheral project to do this as suggested above.But I have a small issue with that.
    The advertising interval defined as 160(i.e., 100msec).In non-connected state it is broadcasting for every 100msec, but while in a connection it is broadcasting for every 1sec. I have checked this using RF packet sniffer.How to change the broadcasting interval to 100msec even while in a connection.Please help me to solve this.

    Thanks.

    Regards,
    Anuhya.