WE310F5  39.00.000
M2MB_NCM_IFCFG Struct Reference

Network Connect Manager Interface configuration. More...

#include <m2mb_ncm.h>

Data Fields

UINT8 device_id
 
UINT8 mac_addr [6]
 
INT32 state
 
INT32 wstate
 
INT32 mode
 
UINT8 bssid_mac_addr [6]
 
UINT8 ssid [33]
 
INT32 channel
 
INT32 security
 
INT32 rssi
 
UINT32 ip_addr
 
UINT32 subnet_mask
 
UINT32 gateway
 
UINT32 dns1
 
UINT32 dns2
 
UINT32 dns3
 

Detailed Description

Network Connect Manager Interface configuration.

This data structure allows the application to get the interface information.
This data structure should be used to get the interface configuration by calling m2mb_ncm_get using opcode M2MB_NCM_CFG_OPCODE_INTERFACE_GET.

Definition at line 399 of file m2mb_ncm.h.

Field Documentation

◆ bssid_mac_addr

UINT8 bssid_mac_addr[6]

BSSID MAC addr of connected network or created network

Definition at line 406 of file m2mb_ncm.h.

◆ channel

INT32 channel

channel number

Definition at line 410 of file m2mb_ncm.h.

◆ device_id

UINT8 device_id

device Id

Definition at line 401 of file m2mb_ncm.h.

◆ dns1

UINT32 dns1

DNS1 address

Definition at line 419 of file m2mb_ncm.h.

◆ dns2

UINT32 dns2

DNS2 address

Definition at line 420 of file m2mb_ncm.h.

◆ dns3

UINT32 dns3

DNS3 address

Definition at line 421 of file m2mb_ncm.h.

◆ gateway

UINT32 gateway

gateway got from connected network or gateway of AP mode

Definition at line 417 of file m2mb_ncm.h.

◆ ip_addr

UINT32 ip_addr

IP address got from connected network or static IP address of AP mode

Definition at line 413 of file m2mb_ncm.h.

◆ mac_addr

UINT8 mac_addr[6]

MAC address of device interface

Definition at line 402 of file m2mb_ncm.h.

◆ mode

INT32 mode

AP, STA modes

Definition at line 405 of file m2mb_ncm.h.

◆ rssi

INT32 rssi

RSSI value in STA mode

Definition at line 412 of file m2mb_ncm.h.

◆ security

INT32 security

security type OPEN, WPA PSK, WPA2 PSK

Definition at line 411 of file m2mb_ncm.h.

◆ ssid

UINT8 ssid[33]

SSID of connected network or created network

Definition at line 408 of file m2mb_ncm.h.

◆ state

INT32 state

NCM state

Definition at line 403 of file m2mb_ncm.h.

◆ subnet_mask

UINT32 subnet_mask

subnet mask got from connected network or subnet mask of AP mode

Definition at line 415 of file m2mb_ncm.h.

◆ wstate

INT32 wstate

WLAN state

Definition at line 404 of file m2mb_ncm.h.


The documentation for this struct was generated from the following file: