Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Get the external interface base number.

Files

net_if.h/net_if.c

Prototype

Arguments

None.

Returned Value

ID of the first interface configured. 

Required Configuration

None.

Notes

  1. Interface ID start at 0 or 1 depending if the loopback interface is enabled or not. 
  2. You can find the number of external interface added/configured by calling NetIF_GetExtAvailCtr(). By knowing the ID of the first external interface and the number of external interface, it is possible to browse in a generic way all interfaces. 
  • No labels