I guess this is what you are looking for:
// info about the structure typedef struct { ip4_addr_t ip; ip4_addr_t netmask; ip4_addr_t gw; } tcpip_adapter_ip_info_t; // STA calls tcpip_adapter_dhcpc_stop(WIFI_IF_STA); tcpip_adapter_set_ip_info(WIFI_IF_STA, const tcpip_adapter_ip_info_t *ip_info) // AP - calls tcpip_adapter_dhcpc_stop(WIFI_IF_AP); tcpip_adapter_set_ip_info(WIFI_IF_AP, const tcpip_adapter_ip_info_t *ip_info) tcpip_adapter_dhcpc_start(WIFI_IF_AP);
@MaBe started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I guess this is what you are looking for: