I am currently following the tutorial for creating custom services (https://github.com/NordicPlayground/nRF5x-custom-ble-service-tutorial). The only differences to this example is that I am using SDK v17 and SoftDevice s140.
Everything has been going fine until I reach Step 6 - Handling the Write Event from the SoftDevice. For some reason, the write event is not generated when I send it through nRF connect. What does generate this event, however, is subscribing to the characteristic. Adding logs to the on_ble_evt handler shows that no event is generated on write, so it's not a case of incorrectly handling the event id.