Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Unsubscribe to get notified when interface link state changes.

Files

net_if.h/net_if.c

Prototype

Code Block

          void NetIF_LinkStateUnsubscribe(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.

...

NET_IF_ERR_NONE
NET_ERR_FAULT_LOCK_ACQUIRE
NET_INIT_ERR_NOT_COMPLETED
NET_IF_ERR_LINK_SUBSCRIBER_NOT_FOUND
NET_IF_ERR_INVALID_IF 

Returned Value

None.

Required Configuration

None.

Notes / Warnings

None.