I took a look at this article here: Wireless timer synchronization among nRF5 devices and it looks promising for what I need. However, I have a couple of questions. Specifically with the Zephyr sample.
I plan on having a star topology with one central and multiple peripherals. The sample code does not differentiate between the two roles. In fact, the sample code starts advertising right away in the main function and it appears to have a partial/incomplete example of how to use the UART service.
I am planning on having one central device transmit beacons only to BLE advertising peripherals that I have already intentionally established a connection with. How could I modify the mentioned example to only direct the beacon packets to those peripherals?
Also, for starters, I plan on combining the time sync logic with the Central UART and Peripheral UART samples for now but may plan on creating my own custom services in the near future. And I want to make sure that the time synchronization sample will still work.
Any help would be greatly appreciated.