I'm developing an application to communicate with a smartphone. I have the need of writing characteristics with the size bigger than the negotiated MTU, so I'm exploring Queued write example. So far, I'm able to write to the characteristic, however, I need to have two characteristics, one used to write and another to read with the possibility of push notifications.
To do that I tried to change the source code to add a characteristic with "read" and "notify" permissions, as you can see below:
to
After that change I received an error code "NRF_INVALID_PARAM" and the characteristic is not added. I also tried to add the read permission only and that works fine.
Can somebody help me to understand how can I add notify permissions?
Note: I am using nordic SDK v13.0.0.