...
net_if.h/net_if.c
Prototype
Code Block |
---|
void NetIF_LinkStateSubscribe(NET_IF_NBR if_nbr,
NET_IF_LINK_SUBSCRIBER_FNCT fcnt,
NET_ERR *p_err); |
Arguments
if_nbr
Network interface number to get last known physical link state.
...
None.
Notes / Warnings
None.
Example Usage
Example application that subscribes a connection state change callback function
Example callback function for state change