Wiznet WizFi250 Programmer's Manual page 33

Hide thumbs Also See for WizFi250:
Table of Contents

Advertisement

AT+MCUSTOM=?
Meaning: Get current custom code
Response:
WIZNET
[OK]
AT+MAIRCMD
Format:
AT+MAIRCMD=<OpenType>,<SocketType>,<LocalPort>,<Option>
Meaning: Configure Air Command mode
<OpenType>: Air Command mode type (Required)
Parameter
O
S
* AT ONCE: Assigns a Air-Command-socket immediately.
* AS SERVICE: Registers its information to the profile. When WiFi Joined, Air-Command-socket open will be
performed automatically. If you want to use this after reset, It should be saved by using AT+MPROF=S
<SocketType>: Air-Command-Socket protocol to use (Required)
Parameter
T
U
<LocalPort>: Local port number (Required)
Local port number should not be duplicated with others which have opened before. When the value is 0,
in case the socket was a TCP/UDP Client, a random port number will be selected. If it was a TCP/UDP
Server, it will return an error message.
<Option>: Reserved (Required)
Examples)
AT+MAIRCMD=O,T,50001,0
AT+MAIRCMD=S,U,50001,0
AT+MAIRCMD=?
Response:
2020/11/26 12:13
open at Once
register as a Service
TCP Server Normal
UDP Server Normal
32/81
Meaning
Meaning
WizFi250 Programmer's Guide

Advertisement

Table of Contents
loading

Table of Contents