Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

custom service and characteristic not receiving write events

I started with the ble_app_template and a preexisting project written with sdk 12.

I have a custom service and 2 characteristics.

The point I am at now is that my DK advertises the proper name and such. When I connect I can see my service and characteristics.

When I write to the writable characteristic, I get an even into my ble_eas_on_ble_evt function, but the p_ble_evet->header.evt_id is always 2. It is never BLE_GATTS_EVT_WRITE.

I am sure I just missed something simple. Please advise.

Parents Reply Children
No Data
Related