Hello,
Is there any sample code in SDK example, to show how to use nrf51822, to both broadcast a beacon and also to listen to a beacon from another 51822. Also I am using BLE400 kit which uses S110 softdevice only. Thanks
Hello,
Is there any sample code in SDK example, to show how to use nrf51822, to both broadcast a beacon and also to listen to a beacon from another 51822. Also I am using BLE400 kit which uses S110 softdevice only. Thanks
Hi,
S110 softdevice is Peripheral-only stack, which cannot be used for scanning. However, it should not be any issue to switch to S130 softdevice, which support concurrent peripheral and central/observer role.
There is no specific examples in the SDK doing exactly what you are asking, but we do have BLE Central & Peripheral examples, that can do both advertising and scanning. Just remove anything related to connections, and modify the advertising data to match your beacon requirements.
Best regards,
Jørgen
Hi Jørgen,
Thanks so much for quick reply, I think I have an issue with my nrf51822 module which is made by Waveshare.com running S130 softdevice using Keil IDE, this module has a QFAC version, 256K flash/32K ram. I never could successfully compile and run SDK13 with S130 on this module. I am not sure why? If you know the reason, please explain. The only SDK is working for this module is SDK10/S110 . At least you gave me a good answer, that this feature is doable, so I need to find another nrf51822 hardware that can be use with SDK13/S130, to accomplish what I need. Thanks again
Hi Jørgen,
Thanks so much for quick reply, I think I have an issue with my nrf51822 module which is made by Waveshare.com running S130 softdevice using Keil IDE, this module has a QFAC version, 256K flash/32K ram. I never could successfully compile and run SDK13 with S130 on this module. I am not sure why? If you know the reason, please explain. The only SDK is working for this module is SDK10/S110 . At least you gave me a good answer, that this feature is doable, so I need to find another nrf51822 hardware that can be use with SDK13/S130, to accomplish what I need. Thanks again