9.18.1.1 +WAPC

This command is used to read or set the DCE’s hotspot access point configuration. This command is a configuration command which supports setting and getting parameter values. The behaviour of configuration commands is described in general in the Configuration Commands section.

Security – Default Security for the command is: GGGG

Table 9-196. Command Syntax

Command

Description

Security

AT+WAPC

Query all configuration elements

GGGG

AT+WAPC=<ID>

Query a single element

GGGG

AT+WAPC=<ID>,<VAL>

Set a single element

GGGG

Table 9-197. Command Parameter Syntax

Parameter Name

Type

Description

<ID>

Integer

Parameter ID number

<VAL>

Integer String Byte Array

Parameter value

Table 9-198. Response Syntax

Response

Description

+WAPC:<ID>,<VAL>

Read response

Table 9-199. Response Element Syntax

Element Name

Type

Description

<ID>

Integer

Parameter ID number

<VAL>

Any

Parameter value

Table 9-200. Configuration Parameters

ID

Name

Type

Description

Security

1

<SSID>

String

Network Name Maximum length is 32

GGGG

2

<SEC_TYPE>

Integer

Security Type
  • 0 – Open
  • 2 – WPA2 Personal Mixed mode
  • 3 – WPA2 Personal
  • 4 – WPA3 Personal Transition mode
  • 5 – WPA3 Personal

GGGG

3

<CREDENTIALS>

String

Credentials required for connecting to the network of the security type specified

Maximum length is 128

GGGG

4

<CHANNEL>

Integer

The channel on which to set up the network. Valid range is 1-13

GGGG

5

<HIDDEN>

Bool

Visibility of the network
  • 0 – Not hidden, SSID is broadcast in beacons
  • 1 – Hidden, SSID is not broadcast

GGGG

7

<L2ONLY>

Bool

Layer 2 only flag
  • 0 – Layer 3 active
  • 1 – Layer 3 not active

GGGG

8

<NETIF_IDX>

Unsigned Integer

Network interface index

GGGG