Microchip® Advanced Software Framework

lwip-port-1.4.0/hd/if/include/netif/wlif.h File Reference
#include "lwip/netif.h"
#include "lwip/err.h"

Functions

err_t wlif_init (struct netif *netif)
 Should be called at the beginning of the program to set up the network interface. More...
 
void wlif_poll (struct netif *netif)
 

err_t wlif_init ( struct netif netif)

Should be called at the beginning of the program to set up the network interface.

It calls the function low_level_init() to do the actual setup of the hardware.

This function should be passed as a parameter to netif_add().

Parameters
netifthe lwip network interface structure for this ethernetif
Returns
ERR_OK if the loopif is initialized ERR_MEM if private data couldn't be allocated any other err_t on error
void wlif_poll ( struct netif netif)