hi
i am using two dongles.one would be sending sensor data from gpio to other through ble.i need a example code for those two.could you please tell me which example i can use?
thank you in advance
hi
i am using two dongles.one would be sending sensor data from gpio to other through ble.i need a example code for those two.could you please tell me which example i can use?
thank you in advance
Hi,
I would recommend that you go through the BLE tutorials about Advertising, Services, Characteristics, and central. This will give you a great introduction to how to do advertising, create your own service and characteristics, and to scan and connect the peripheral using a central.
In our SDK, you can also find many examples for both peripheral and central. For reading GPIOs, you should have a look at the GPIO abstraction documentation.
Best regards,
Jørgen
Yes, but you need to update the whole advertising data when the button value change. See this post.
Yes, but you need to update the whole advertising data when the button value change. See this post.