Andrew Reed / Mbed OS CITY1082-i2c_master_wifi_mqtt
Embed: (wiki syntax)

« Back to documentation index

cy_nw_helper.cpp File Reference

cy_nw_helper.cpp File Reference

Network helper library. More...

Go to the source code of this file.

Functions

void cy_nw_ip_initialize_status_change_callback (cy_nw_ip_status_change_callback_t *cb, cy_nw_ip_status_change_callback_func_t *cb_func, void *arg)
 Initialize status change callback.
bool cy_nw_ip_get_ipv4_address (cy_nw_ip_interface_t nw_interface, cy_nw_ip_address_t *ip_addr)
 Retrieves the IPv4 address for an interface.
int cy_nw_str_to_ipv4 (const char *ip_str, cy_nw_ip_address_t *address)
 Convert IPv4 string to an IP address structure.
void cy_nw_ip_register_status_change_callback (cy_nw_ip_interface_t nw_interface, cy_nw_ip_status_change_callback_t *cb)
 Registers for callback function to be invoked during IP status change.
void cy_nw_ip_unregister_status_change_callback (cy_nw_ip_interface_t nw_interface, cy_nw_ip_status_change_callback_t *cb)
 Un-registers IP status change callback.
int cy_nw_host_arp_cache_clear (cy_nw_ip_interface_t iface)
 Clears the ARP cache for the interface NOTE: in LwIP, we need the netif (NetworkInterface) to do things, we can find using wifi interface.
int cy_nw_host_arp_cache_get_list (cy_nw_ip_interface_t iface, cy_nw_arp_cache_entry_t *list, uint32_t count, uint32_t *filled)
 Gets the ARP cache list for the interface.
int cy_nw_host_send_arp_request (cy_nw_ip_interface_t iface, const char *ip_string)
 Send ARP request NOTE: in LwIP, we need the netif (NetworkInterface) to do things, we can find using wifi interface.
uint32_t cy_nw_get_time (void)
 GET time in milliseconds.

Detailed Description

Network helper library.

Definition in file cy_nw_helper.cpp.