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.