Is there any example about the dongle nrf52840 act as a central? Is that possible? In that case for a ble connection between dongle and board a service does to be create on the peripheral or in the central part? Or both?..
Thanks a lot for answers!!
Is there any example about the dongle nrf52840 act as a central? Is that possible? In that case for a ble connection between dongle and board a service does to be create on the peripheral or in the central part? Or both?..
Thanks a lot for answers!!
Hi
Yes, you will have to program both devices with the service application. The peripheral you can make as in the BLE service tutorial.
As for the central I recommend starting with for example the SDK\examples\ble_central\ble_app_uart_c, and modifying it so that it knows how to process the services provided by your peripheral. You can follow the steps under Service Discovery in the BLE central tutorial for how to register and discover services provided by peripheral devices.
Best regards,
Simon
Hi
Yes, you will have to program both devices with the service application. The peripheral you can make as in the BLE service tutorial.
As for the central I recommend starting with for example the SDK\examples\ble_central\ble_app_uart_c, and modifying it so that it knows how to process the services provided by your peripheral. You can follow the steps under Service Discovery in the BLE central tutorial for how to register and discover services provided by peripheral devices.
Best regards,
Simon
I'll try it.
Thanks a lotfor your answer.
Best regards.
marikalp.