Hi
i would like to how to properly set an authorization on write, i am using sdk 17. please explain all proper value of "ble_gatts_rw_authorize_reply_params_t " for write response.
Hi
i would like to how to properly set an authorization on write, i am using sdk 17. please explain all proper value of "ble_gatts_rw_authorize_reply_params_t " for write response.
Please check the verufied answer thread which is relevant for your question. You should be setting wr_auth member to 1 in the characteristic attribute data.
If you look at the ble_nus service at nRF5_SDK_17.0.2_d674dde\components\ble\ble_services\ble_nus\ble_nus.c->ble_nus_init-> characteristic_add and see how the wr_auth is defined in it.
by using this reference I was able to pull off my task, thanks