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

How to Advertising and Scan at the same time

I am now using 52832 to do a project, need to send a BLE broadcast package first, and then start scan, what examples can I refer to?

Attachment is my TX/RX process,and I need to implement the device B image description

Parents
  • Nice. So you are defining your own radio timing so you are not really interested about BLE. This almost looks like you want to write your won radio protocol. If you want to stay with BLE and you want to use Nordic stack (Soft Device) - which will save you like 6-12 months of life - then you need to accept natural timings in there. These mean that you can run dual roles and switches between Tx/Rx will be little more complex but in general much much much faster then 1ms. To be specific for Device B:

    • Use any BLE multirole example for inspiration, but in fact you will run one GAP Peripheral/Broadcaster and one GAP Central/Observer role. (1/x)...
Reply
  • Nice. So you are defining your own radio timing so you are not really interested about BLE. This almost looks like you want to write your won radio protocol. If you want to stay with BLE and you want to use Nordic stack (Soft Device) - which will save you like 6-12 months of life - then you need to accept natural timings in there. These mean that you can run dual roles and switches between Tx/Rx will be little more complex but in general much much much faster then 1ms. To be specific for Device B:

    • Use any BLE multirole example for inspiration, but in fact you will run one GAP Peripheral/Broadcaster and one GAP Central/Observer role. (1/x)...
Children
No Data
Related