GS2101M IP2WiFi Adapter Command Reference Guide
1VV0301499
Rev. 2.0
120
2019-08-05
Command Syntax
AT+P2PSETDEV=<Group owner intent value>,<Operating
class>,<Listen channel>,<Operating channel>,<WPS config
methods>, <country code><CR>
Parameter Description
describes the Set Device parameters.
Synchronous Response
describes the synchronous responses and remarks for the Set P2P
Device.
Table 97 Set Device Parameters
Parameter
Optional/Mandatory
Value
Description
Group owner intent
value
Mandatory
0 to 15
Maximum value: 15
The group owner intent value is p2p device’s
willingness of being the P2Pgroup owner,
with a larger value indicating a higher desire.
Note:
The intent value in AT+P2PSETDEV is same as AT+P2PGRPFORM.
Operating class
Mandatory
81: 1 to 13 channel
82: 14 channel
Preferred operating band i.e, the frequency
band at which the P2P device is in the listen
state or the frequency band at which the p2p
device is operating as group owner.
Regulatory domain (FCC, ETSI, TELEC etc)
is configured using AT+WREGDOMAIN
command.
Listen channel
Mandatory
1,6&11
Operating channel
Mandatory
1, 6 & 11
WPS config methods Mandatory
2 byte
WiFi simple configuration methods
supported -
DISPLAY- 3rd or 13th bit position with
0x2008 Hexa value.
Push Button- 7th & 9th bit position with
0x0280 Hexa value.
KEYPAD - 8th bit position with 0x0100
Hexa value.
If all three fields are supported MCU
configures this field as ‘0x2388’wher a
combination for these are also allowed.
Country code
Mandatory
N/A
Indicates the country to operate in. A valid
country code strings are US, JP, and EU. The
country code string must be in upper
case.Maximum Length is 2 characters. It is in
upper case letters.