![]() |
Morse Micro IoT SDK
2.11.2
|
Functions | |
| static enum mmagic_status | mmagic_controller_get_ip_ip_addr (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Gets ip_addr setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_ip_addr (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Sets ip_addr setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_get_ip_netmask (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Gets netmask setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_netmask (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Sets netmask setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_get_ip_gateway (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Gets gateway setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_gateway (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Sets gateway setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_get_ip_dns_server0 (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Gets dns_server0 setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_dns_server0 (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Sets dns_server0 setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_get_ip_dns_server1 (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Gets dns_server1 setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_dns_server1 (struct mmagic_controller *controller, struct struct_ip_addr *var) |
Sets dns_server1 setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_get_ip_dhcp_enabled (struct mmagic_controller *controller, bool *var) |
Gets dhcp_enabled setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_dhcp_enabled (struct mmagic_controller *controller, bool var) |
Sets dhcp_enabled setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_get_ip_link_status_evt_en (struct mmagic_controller *controller, bool *var) |
Gets link_status_evt_en setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_set_ip_link_status_evt_en (struct mmagic_controller *controller, bool var) |
Sets link_status_evt_en setting for module ip. More... | |
| static enum mmagic_status | mmagic_controller_ip_commit_all (struct mmagic_controller *controller) |
| Saves all settings from persistent store. More... | |
|
inlinestatic |
Gets dhcp_enabled setting for module ip.
True to enable DHCP for IP address configuration, or false to use the static configuration given by ip_addr, netmask, and gateway. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the bool to place the received data in. |
Definition at line 4307 of file mmagic_controller.h.
|
inlinestatic |
Gets dns_server0 setting for module ip.
Primary DNS server IP address. If a value is specified this will override the primary DNS server provided by DHCP (if any). Changes will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to place the received data in. |
Definition at line 4151 of file mmagic_controller.h.
|
inlinestatic |
Gets dns_server1 setting for module ip.
Secondary DNS server IP address. If a value is specified this will override the secondary DNS server provided by DHCP (if any). Changes will take effect when the reload command is successfully executed. Note that this option may be ignored by some IP stacks.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to place the received data in. |
Definition at line 4229 of file mmagic_controller.h.
|
inlinestatic |
Gets gateway setting for module ip.
Gateway to use for a static network connection. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to place the received data in. |
Definition at line 4074 of file mmagic_controller.h.
|
inlinestatic |
Gets ip_addr setting for module ip.
IP address to use for a static network connection. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to place the received data in. |
Definition at line 3922 of file mmagic_controller.h.
|
inlinestatic |
Gets link_status_evt_en setting for module ip.
When set to true, IP link status notifications will be provided. Setting this to false will suppress these notifications. Defaults to true.
| controller | Reference to the controller handle. |
| var | Reference to the bool to place the received data in. |
Definition at line 4384 of file mmagic_controller.h.
|
inlinestatic |
Gets netmask setting for module ip.
Netmask to use for a static network connection. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to place the received data in. |
Definition at line 3998 of file mmagic_controller.h.
|
inlinestatic |
Saves all settings from persistent store.
| controller | Reference to the controller handle. |
Definition at line 4456 of file mmagic_controller.h.
|
inlinestatic |
Sets dhcp_enabled setting for module ip.
True to enable DHCP for IP address configuration, or false to use the static configuration given by ip_addr, netmask, and gateway. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | The bool to write. |
Definition at line 4346 of file mmagic_controller.h.
|
inlinestatic |
Sets dns_server0 setting for module ip.
Primary DNS server IP address. If a value is specified this will override the primary DNS server provided by DHCP (if any). Changes will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to write. |
Definition at line 4190 of file mmagic_controller.h.
|
inlinestatic |
Sets dns_server1 setting for module ip.
Secondary DNS server IP address. If a value is specified this will override the secondary DNS server provided by DHCP (if any). Changes will take effect when the reload command is successfully executed. Note that this option may be ignored by some IP stacks.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to write. |
Definition at line 4268 of file mmagic_controller.h.
|
inlinestatic |
Sets gateway setting for module ip.
Gateway to use for a static network connection. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to write. |
Definition at line 4112 of file mmagic_controller.h.
|
inlinestatic |
Sets ip_addr setting for module ip.
IP address to use for a static network connection. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to write. |
Definition at line 3960 of file mmagic_controller.h.
|
inlinestatic |
Sets link_status_evt_en setting for module ip.
When set to true, IP link status notifications will be provided. Setting this to false will suppress these notifications. Defaults to true.
| controller | Reference to the controller handle. |
| var | The bool to write. |
Definition at line 4422 of file mmagic_controller.h.
|
inlinestatic |
Sets netmask setting for module ip.
Netmask to use for a static network connection. This will take effect when the reload command is successfully executed.
| controller | Reference to the controller handle. |
| var | Reference to the struct_ip_addr to write. |
Definition at line 4036 of file mmagic_controller.h.