11.12.3.4.23. Function iot_agent_init_dispatcher

11.12.3.4.23.1. Function Documentation

iot_agent_status_t iot_agent_init_dispatcher(iot_agent_dispatcher_context_t *dispatcher_context, iot_agent_context_t *agent_context, nxp_iot_ServiceDescriptor *service_descriptor, nxp_iot_UpdateStatusReport *status_report)

Initialize Dispatcher.

Parameters
  • [in] dispatcher_context: Context for the dispatcher

  • [in] agent_context: Context for the agent

  • [in] service_descriptor: The service descriptor containing the connection parameters to connect to the EdgeLock 2GO cloud service.

  • [out] status_report: A pointer to a structure that gets filled with a status report after the update is complete. If NULL is given, no status report is created.