This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Adding IoT to Custom BLE Service

I have a nRF52832 reading sensors periodically using SDK14.2. The device uses a custom BLE service to upload the data to a mobile phone. That all works great, but now I would like to add an IPSP service, in particular 6LoWPAN and CoAP, to interface with a router. I would like to keep the custom BLE service. What would be the best approach to take here?

Should I take the CoAP sample and add my custom code or can I start with my code and add parts of the CoAP sample? I saw the CoAP samples use the ipv6_medium_ble.c file which initializes the BLE stack and advertising params, but I'm already doing that in my code.

Do you have sample code that combines a custom BLE service with IoT? I figured it wouldn't take too much to combine the two since they are in the same SDK and SD now, but I'm not sure how to approach it.

Parents Reply Children
No Data
Related