Note

This is the documentation for the latest development branch and may refer to features that are not available in released versions. If you are looking for the documentation for a specific release, use the drop-down menu on the left and select the desired version.

NetMgmt Example

NetMgmt Example#

Overview#

This sample is a combined test program for the network-management HAL.

Source file:

src/rtsmart/examples/peripheral/netmgmt/test_netmgmt.c

Sample Behavior#

  • default interface lookup and device listing

  • WLAN station connect, reconnect, disconnect, scan, RSSI, MAC, and AP info

  • WLAN AP start and stop, activation status, country code, and connected station management

  • LAN link state, MAC, static IP, and DHCP switching

Key APIs#

The sample covers the network-management APIs for WLAN STA, WLAN AP, LAN, and IP configuration.

Build and Run#

cd src/rtsmart/examples/peripheral/netmgmt
make
./test_netmgmt
Comments list
Comments
Log in