# NetMgmt Example

## Overview

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

Source file:

```bash
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

```bash
cd src/rtsmart/examples/peripheral/netmgmt
make
./test_netmgmt
```
