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
thank you jorgen
hi,
could you please tell me if there is any example for gpio programming.i am connecting touch sensor to it.
thank you.
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?
From what you write, you have swapped RAM and ROM settings. They shold be like this:
IROM1: Start: 0x18000, Size: 0x28000
IRAM1: Start: 0x20002000, Size: 0x6000
If you do not have the latest revision of the beacon kit (1.3.0 containing CFAC chip with 32 kB RAM), you also need to reduce IRAM1 size to 0x2000.