11.12.3.4.14. Function iot_agent_get_datastore_by_id¶
Defined in File nxp_iot_agent.h
11.12.3.4.14.1. Function Documentation¶
-
iot_agent_status_t
iot_agent_get_datastore_by_id
(const iot_agent_context_t *ctx, const uint32_t id, iot_agent_datastore_t **datastore)¶ Get a reference to a datastore based on its identifier.
- Return Value
IOT_STATUS_SUCCESS
: A datastore with theid
was found in the agent’s context and a pointer to it is returned indatastore
.