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
i tried ble_app_uart from sdk 8.0.0 in pca10028 and it is working.but i want to run it in pca20006.i changed device to 51822 & board to pca20006(in preprocessor settings) & ram settings to 0x18000,0x28000(size),rom to 20002000,8000(size). but still not working. is it possible? what else i should change?
i tried ble_app_uart from sdk 8.0.0 in pca10028 and it is working.but i want to run it in pca20006.i changed device to 51822 & board to pca20006(in preprocessor settings) & ram settings to 0x18000,0x28000(size),rom to 20002000,8000(size). but still not working. is it possible? what else i should change?