Hello,
in our application we have one central (nRF52840DK) and up to four peripherals (nRF52832). We want to achieve two goals in this application:
Goal 1: We need a synchronized timer on all peripherals and the central.
Goal 2: Each peripheral can send data to the central via NUS.
We already did some experiments with the "nrf52-ble-app-uart-c-multilink" example which is available here: https://github.com/NordicPlayground/nrf52-ble-app-uart-c-multilink . This example works fine and we can achieve our goal 2 with it. With this example we can set up connections between the central and multiple peripherals. Each peripheral can sent data via NUS to the central.
We also did some experiments with the "nRF5_ble_timesync_demo" which is availabe here: https://github.com/nordic-auko/nRF5-ble-timesync-demo . With this example we can synchronize a timer wirelessly between a central and a peripheral. It works fine and we can achieve goal 1 with it.
Now we need to combine this two codes to achieve both goals at the same time. To be more precise: We need to combine the "nrf52-ble-app-uart-c-multilink" example with the "ble_app_uart_c" example from the "nRF5_ble_timesync_demo".
So here are our questions:
1. Is this possible?
2. Did anybody already merged this two examples?
3. Can you please provide us some proper guidance how to merge this two examples?
Any kind of help is appreciated. Thank you very much in advance.
Michael