![]() |
Morse Micro IoT SDK
2.11.2
|
Modules | |
| ip configuration variables | |
Data Structures | |
| struct | mmagic_core_ip_status_rsp_args |
| Response arguments structure for ip_status. More... | |
| struct | mmagic_ip_link_status_event_args |
| Event arguments structure for ip_link_status. More... | |
Typedefs | |
| typedef void(* | mmagic_ip_link_status_event_handler_t) (const struct mmagic_ip_link_status_event_args *event_args, void *arg) |
| Handler for the ip-link_status event. More... | |
Functions | |
| static enum mmagic_status | mmagic_controller_ip_status (struct mmagic_controller *controller, struct mmagic_core_ip_status_rsp_args *rsp_args) |
| Gets the status of the IP stack. More... | |
| static enum mmagic_status | mmagic_controller_ip_reload (struct mmagic_controller *controller) |
| Reloads the IP stack network configuration based on the current values in the subsystem config. More... | |
| void | mmagic_controller_register_ip_link_status_handler (struct mmagic_controller *controller, mmagic_ip_link_status_event_handler_t handler, void *arg) |
| Register a handler for the ip-link_status event. More... | |
| typedef void(* mmagic_ip_link_status_event_handler_t) (const struct mmagic_ip_link_status_event_args *event_args, void *arg) |
Handler for the ip-link_status event.
Triggered when the IP stack has a valid address.
| event_args | Notification arguments received from the agent. |
| arg | Opaque argument that was provided when the callback was registered. |
Definition at line 4577 of file mmagic_controller.h.
|
inlinestatic |
Reloads the IP stack network configuration based on the current values in the subsystem config.
| controller | Reference to the controller handle. |
MMAGIC_STATUS_OK else an appropriate error code. Definition at line 4533 of file mmagic_controller.h.
|
inlinestatic |
Gets the status of the IP stack.
| controller | Reference to the controller handle. | |
| [out] | rsp_args | Pointer to the data structure to be filled out with the result. If the return code is not MMAGIC_STATUS_OK then the contents of this structure will be undefined. |
MMAGIC_STATUS_OK else an appropriate error code. Definition at line 4501 of file mmagic_controller.h.
| void mmagic_controller_register_ip_link_status_handler | ( | struct mmagic_controller * | controller, |
| mmagic_ip_link_status_event_handler_t | handler, | ||
| void * | arg | ||
| ) |
Register a handler for the ip-link_status event.
Triggered when the IP stack has a valid address.
| controller | Reference to the the controller handle. |
| handler | The handler function to register. |
| arg | Opaque argument to be passed to the handler when it is invoked. |