11.12.3.4.15. Function iot_agent_get_datastore_index_by_id¶
Defined in File nxp_iot_agent.h
11.12.3.4.15.1. Function Documentation¶
-
iot_agent_status_t
iot_agent_get_datastore_index_by_id
(const iot_agent_context_t *ctx, const uint32_t id, size_t *index)¶ Get the index of a datastore based on its identifier.
- Return Value
IOT_STATUS_SUCCESS
: A datastore with theid
was found in the agent’s context and its index is returned inindex
.