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.

LAUNCHXL-CC2640R2: simple_central add broadcast feature

Part Number: LAUNCHXL-CC2640R2

Hi,

is there a way to add broadcast to simple_central example?

I dont want to use multirole, only broadcast advertising data.

  • I think it will be easier to start with multirole project and remove what you don't need in the application layer.
    After that, configure the stack to be central and broadcaster.
  • Hi Chris,
    there is only example of multirole for BLE 4.2.
    On the SDK 2.30.00.28 there is no multirole for BLE5 and no peripheral+broadcast.
    Is this in plan to come or can i just add broadcast to peripheral example and to central?
  • The reason for not having BLE 5 multirole project is simply because there is not enough flash space on CC2640r2 to do multirole while supporting all the BT 5 functionality, that being said, there won't be a multirole BLE5 in the future.

    You can try to add broadcaster into central but I am not sure if it will fit or not.
    Regarding having broadcaster function in simple_peripheral project, you just need to change the adv type to be non connectable. There should not be any special code needed to make simple_peripheral to broadcast.