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
There should be no problem using the nRF52840 dongle as a central. This tutorial might help you setting it up. As for the second part of your question I am not sure I understand. Both the dongle and a development kit are able to act as both central and peripheral, if that is what you are wondering.
Best regards
Simon
ok,thanks..but if i want to create my own service have I to define it in the script of the central and in that of pheripheral or only one of this?.
Before i create a service on the dk as periphereal and i use it with nrfconnect and it's was ok.
If now i would program the dongle instead what should i do? program the dongle as a central and define again the service on it or it's enaph if the service is define only in the periphereal part?
ok,thanks..but if i want to create my own service have I to define it in the script of the central and in that of pheripheral or only one of this?.
Before i create a service on the dk as periphereal and i use it with nrfconnect and it's was ok.
If now i would program the dongle instead what should i do? program the dongle as a central and define again the service on it or it's enaph if the service is define only in the periphereal part?
Hi
I am struggling to understand what you mean by "service". Do you mean the application you are making?
Best regards
Simon
yes ,i think so. I created the services for the peripheral part following https://devzone.nordicsemi.com/tutorials/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial
but what i have to do for the central one(dongle)?