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

ble_gatts_evt_rw_authorize_request_t with offset

Hi again, If I use BluetoothGATTSetCharacteristicValue and set wr_auth = 1 in the ble characteristics, I receive a BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST event. I can also see the data and length from the requestEvent->request.write.data and requestEvent->request.write.len. My question is how does the requestEvent->request.write.offset value get updated? I want to send a lot of data to my device, and with a maximum packet size of 20 bytes, it would be nice to be able to determine the offset for each packet, so I can easily re-assemble the data at the receive end. Do I need to increase the attributeCharacteristicValue.max_len? Many thanks

Parents Reply Children
No Data
Related