Versions Compared

Key

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

...

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.

...

Required Configuration

None.

Notes / Warnings

Example application that subscribes a connection state change callback function

Example callback function for state changeNone.