This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Read Authorization Request

Hi All,

Regarding to the question Question about read operation , and I have tried to add the authorization when read, but it could not receive the response. Please see attached.

I set the read authorization bit when adding the characteristic, attr_md.rd_auth = 1; and add the event and the reply.


ble_private_service_on_ble_evt
{
     ˙˙˙
    case BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST:
        sd_ble_gatts_rw_authorize_reply(conn_handle,&rw_authorize_reply_params);
    break
}

is there any thing I missed?

no response.png

Parents Reply Children
No Data
Related