...
NetWiFiMgr_IO_Ctrl()
Anchor
Files
Anchor
net_wifi_mgr.c
anchorPrototype
...
rowspan | 2 |
---|
...
Anchor
Note that since every Wireless Manager’s IO_Ctrl()
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’‘static
’.anchor
Arguments
...
p_if
anchor
Pointer to the interface to handle network device I/O operations.
...
opt
I/O operation to perform.
Anchor
p_data
anchorA pointer to a variable containing the data necessary to perform the operation or a pointer to a variable to store data associated with the result of the operation.
...
p_err
Anchor
Pointer to variable that will receive the return error code from this function.
...
...
Returned Values
Anchor
Required Configuration
...
Notes/Warnings
Anchor
...
The NET_DEV_LINK_STATE_GET_INFO
option expects p_data
to point to a variable of type NET_DEV_LINK_WIFI
for the case of an Ethernet driver. This variable has one field, link state, which are filled in by the device driver API. μC/TCP-IP internally uses this option code in order to periodically poll the driver for linkstate.