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

S132 stack - Peripheral & Broadcaster

Hello community,

We have a requirement to do concurrent BLE peripheral and broadcaster roles with S132 stack. This seems to be one approach but a bit crude for our requirement: devzone.nordicsemi.com/.../

Is it possible to instantiate multiple peripherals with S132 stack on one nRF52 device and just implement one to be connectable peripheral and the other as a broadcaster? If it is, can you please provide a code example if it exists?

Thank you!

Parents
  • Do you need to have different advertising data in the connectable and non-connectable adevertising mode? This will require to stop advertising, reinitialize the advertising data and start advertising again. If not, I think the simplest solution will be to switch to non-connectable advertising when in a connection, as the link you provided suggests. It is not possible to initialize the softdevice to concurrently advertise with different service data/settings.

Reply
  • Do you need to have different advertising data in the connectable and non-connectable adevertising mode? This will require to stop advertising, reinitialize the advertising data and start advertising again. If not, I think the simplest solution will be to switch to non-connectable advertising when in a connection, as the link you provided suggests. It is not possible to initialize the softdevice to concurrently advertise with different service data/settings.

Children
No Data
Related