Hi,
I am saving temp data along with timestamps in the internal memory and sending it through ble.
if during transfer the queue becomes full (NRF_ERROR_RESOURCES), I am waiting for the BLE_GATTS_EVT_HVN_TX_COMPLETE event and send it again.
i am not getting the data for which I get the NRF_ERROR_RESOURCES.
to avoid this I have to decrement the token used for searching in FDS.
/**@brief A token to keep information about the progress of @ref fds_record_find,
* @ref fds_record_find_by_key, and @ref fds_record_find_in_file.
*
* @note Always zero-initialize the token before using it for the first time.
* @note Never reuse the same token to search for different records.
*/
typedef struct
{
uint32_t const * p_addr;
uint16_t page;
} fds_find_token_t;
I want to know how the token structure is working and how can I decrement the same to start it with the previous record?
Thanx