Hello Nordic Staff,
I am using the NRF52832, SDK 15.3, Keil, and the NRF52 dk dev kits. I want to modify a program such as the UART central example to recognize my custom peripheral service. The peripheral application runs on a third party device. It contains one service and about 5 characteristics. Some of these are reads and others are writes. They are mostly 8 bits long but one of them is 16 bits long.
I've searched the DEVZone for this information but could not not locate anything suitable to my task.
Here are my questions:
- Is the ble_app_uart_c project a suitable template for adding code to recognize a custom service?
- If yes, do I directly modify the ble_nus_c.c file to do this?
- Which functions, header files, C files and defines specifically should I focus on when making modifications?
- How do I create handlers for read and write events?
- Are there any tutorials or sample code demonstrating the above steps?
Thank you in advance,
Shawn