NetWiFiMgr_Init()

The first function within the Wireless Manager API is the manager initialization/Init() function which is called by the wireless network interface layer.

Files

Every Wireless Manager layer net_wifi_mgr.c

Prototype

          static void NetWiFiMgr_Init (NET_IF  *p_if,
                                       NET_ERR *p_err)

Note that since every Wireless Manager’s Init() function is accessed only by function pointer via the Wireless Manager’s API structure, it doesn’t need to be globally available and should therefore be declared as ‘static’.

Arguments

pif

Pointer to the interface to initialize a Wireless Manager.

perr

Pointer to variable that will receive the return error code from this function.

Returned Value

None.

Required Configuration

None.

Notes/Warnings

None.