提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
|
5 |
/** |
|
6 |
* @author 251823 |
|
7 |
* @description 单个WLAN配置 |
|
8 |
* @date 2023/03/16 11:15:26 |
|
9 |
*/ |
|
10 |
public class CFG_WLAN_INFO extends NetSDKLib.SdkStructure { |
|
11 |
/** |
|
12 |
* Wlan名称, 只能获取不能修改 |
|
13 |
*/ |
|
14 |
public byte[] szWlanName = new byte[32]; |
|
15 |
/** |
|
16 |
* WIFI网卡使能开关, TRUE打开, FALSE关闭 |
|
17 |
*/ |
|
18 |
public int bEnable; |
|
19 |
/** |
|
20 |
* 网络名称(SSID) |
|
21 |
*/ |
|
22 |
public byte[] szSSID = new byte[36]; |
|
23 |
/** |
|
24 |
* 手动连接开关, TRUE手动连接, FALSE手动断开 |
|
25 |
*/ |
|
26 |
public int bConnectEnable; |
|
27 |
/** |
|
28 |
* 自动连接开关, TRUE不自动连接, FALSE自动连接, IPC无意义 |
|
29 |
*/ |
|
30 |
public int bLinkEnable; |
|
31 |
/** |
|
32 |
* 连接模式, 0: auto, 1: adhoc, 2: Infrastructure |
|
33 |
*/ |
|
34 |
public int nLinkMode; |
|
35 |
/** |
|
36 |
* 加密模式, 0: off, 1: on, 2: WEP64, 3: WEP128, 4: WPA-PSK-TKIP, 5: WPA-PSK-AES, 6: |
|
37 |
* WPA2-PSK-TKIP, 7: WPA2-PSK-AES, 8: WPA-TKIP, 9: WPA-AES, 10: WPA2-TKIP, 11: |
|
38 |
* WPA2-AES, 12: AUTO |
|
39 |
* |
|
40 |
* 二代byAuthMode , byEncrAlgr 与三代映射关系 |
|
41 |
* Authentication认证方式 DataEncryption数据加密方式 Encryption加密模式 |
|
42 |
* OPEN NONE "On" |
|
43 |
* OPEN WEP "WEP-OPEN" |
|
44 |
* SHARD WEP "WEP-SHARED" |
|
45 |
* WPA TKIP "WPA-TKIP" |
|
46 |
* WPA-PSK TKIP "WPA-PSK-TKIP" |
|
47 |
* WPA2 TKIP "WPA2-TKIP" |
|
48 |
* WPA2-PSK TKIP "WPA2-PSK-TKIP" |
|
49 |
* WPA AES(CCMP) "WPA-AES" |
|
50 |
* WPA-PSK AES(CCMP) "WPA-PSK-AES" |
|
51 |
* WPA2 AES(CCMP) "WPA2-AES" |
|
52 |
* WPA2-PSK AES(CCMP) "WPA2-PSK-AES" |
|
53 |
* WPA TKIP+AES( mix Mode) "WPA-TKIP"或者"WPA-AES" |
|
54 |
* WPA-PSK TKIP+AES( mix Mode) "WPA-PSK-TKIP"或者"WPA-PSK-AES" |
|
55 |
* WPA2 TKIP+AES( mix Mode) "WPA2-TKIP"或者"WPA2-AES" |
|
56 |
* WPA2-PSK TKIP+AES( mix Mode) "WPA2-PSK-TKIP"或者"WPA2-PSK-AES" |
|
57 |
* WPA3-SAE AES(CCMP) "WPA3-SAE-CCMP" |
|
58 |
*/ |
|
59 |
public int nEncryption; |
|
60 |
/** |
|
61 |
* 认证方式, 暂时没用 {@link com.netsdk.lib.enumeration.EM_CFG_WIRELESS_AUTHENTICATION} |
|
62 |
*/ |
|
63 |
public int emAuthentication; |
|
64 |
/** |
|
65 |
* 数据加密方式, 暂时没用 {@link com.netsdk.lib.enumeration.EM_CFG_WIRELESS_DATA_ENCRYPT} |
|
66 |
*/ |
|
67 |
public int emDataEncryption; |
|
68 |
/** |
|
69 |
* 密码类型, 0: Hex, 1: ASCII |
|
70 |
*/ |
|
71 |
public int nKeyType; |
|
72 |
/** |
|
73 |
* 秘钥索引, 取值0~3 |
|
74 |
*/ |
|
75 |
public int nKeyID; |
|
76 |
/** |
|
77 |
* 四组密码 |
|
78 |
*/ |
|
79 |
public byte[] szKeys = new byte[4 * 128]; |
|
80 |
/** |
|
81 |
* 密码是否已经设置 |
|
82 |
*/ |
|
83 |
public int bKeyFlag; |
|
84 |
/** |
|
85 |
* EAP |
|
86 |
*/ |
|
87 |
public CFG_WLAN_EAP stuEap = new CFG_WLAN_EAP(); |
|
88 |
/** |
|
89 |
* Network |
|
90 |
*/ |
|
91 |
public CFG_WLAN_NETWORK stuNetwork = new CFG_WLAN_NETWORK(); |
|
92 |
|
|
93 |
public CFG_WLAN_INFO() { |
|
94 |
} |
|
95 |
} |