Skip to main content

AT Command(Kor)

WIZ550S2E AT Command Set#

이 μž₯μ—μ„œλŠ” WIZ550S2E의 AT commands λͺ©λ‘κ³Ό κ°œλ³„ command에 λŒ€ν•œ 상세 정보λ₯Ό μ œκ³΅ν•œλ‹€. AT command와 ν•΄λ‹Ή μΈμžλ“€μ€ UART 라인을 ν†΅ν•΄μ„œ μž…λ ₯λœλ‹€. λͺ¨λ“  λͺ…령어듀은 λ¬Έμžμ—΄ "AT"둜 μ‹œμž‘ν•˜κ³  κ·Έμ™Έ λ‹€λ₯Έ λ¬Έμžμ—΄λ‘œ μ‹œμž‘ν•˜λŠ” κ²½μš°μ—λŠ” μ—λŸ¬κ°€ λ¦¬ν„΄λœλ‹€. λͺ…λ Ήκ³Ό μΈμžλ“€μ€ λͺ¨λ‘κ°€ ASCII λ¬Έμžμ…‹μ΄λ‹€. 즉, μ‚¬μš©μžκ°€ "AT+NSTAT"λ₯Ό μž…λ ₯ν•˜κ³ μž ν•œλ‹€λ©΄ ASCII 문자 'A', 'T', '+', 'N', 'S', 'T', 'A', 'T'와 CR(0x0D), LF(0x0A)λ₯Ό 순차적으둜 μž…λ ₯ν•΄μ•Όν•œλ‹€. λͺ¨λ“  λͺ…λ Ήμ–΄λŠ” 항상 CR(0x0D), LF(0x0A)둜 λλ‚˜μ•Όν•œλ‹€. μ–΄λ–€ μΈμžλ“€μ€ ν•„μˆ˜ν•­λͺ©μ΄κ³  또 λ‹€λ₯Έ ν•­λͺ©λ“€μ€ μ˜΅μ…˜μ΄λ‹€. μΈμžλ“€μ€ λͺ…λ Ήμ–΄ ν‘œμ— μ œμ‹œλœ 것과 같은 μˆœμ„œλ‘œ μž…λ ₯ν•΄μ•Όν•œλ‹€. μ˜΅μ…˜ ν•­λͺ©λ“€μ΄ μ‚¬μš©ν•˜μ§€ μ•ŠλŠ” 경우라 할지라도 콀마 κ΅¬λΆ„μžλŠ” λ°˜λ“œμ‹œ λͺ…령어에 ν¬ν•¨ν•΄μ•Όν•œλ‹€. λŒ€λΆ€λΆ„μ˜ κ²½μš°μ—, λͺ…λ Ήμ–΄κ°€ μœ νš¨ν•œ κ²½μš°μ— WIZ550S2EλŠ” [S]λ₯Ό μ‘λ‹΅ν•˜κ³ , 잘λͺ»λœ λͺ…λ Ήμ—λŠ” [F]λ₯Ό μ‘λ‹΅ν•œλ‹€. WIZ550S2Eκ°€ λ‚΄ 보낼 수 μžˆλŠ” 응닡은 Responses에 ν‘œμ‹œλ˜μ–΄μ Έμžˆλ‹€.

μ•„λž˜λŠ” μ‚¬μš©μžκ°€ μž…λ ₯ν•  수 μžˆλŠ” μ˜ˆμ œλ“€μ΄λ‹€. μ˜ˆμ œμ—μ„œ λ³Ό 수 μžˆλŠ” κ²ƒμ²˜λŸΌ, WIZ550S2E의 응닡에도 항상 "\r\n"κ°€ μ‘΄μž¬ν•œλ‹€.

μ‚¬μš©μžμ˜ μž…λ ₯AT\r\n (0x61 0x74 0x0d 0x0a)
WIZ550S2E의 응닡[S]\r\n (0x5b 0x53 0x5d 0x0d 0x0a)

Responses#

Response Format#

[(Type),(Id),(Param1),(Param2),(Param3),(Param4),(Param5),(Param6)]↓(Data)↓
  • (Type): μ‘λ‹΅μ˜ μ’…λ₯˜. 'S', 'D', 'F', 'W', 'R', 'V' μ€‘μ˜ ν•˜λ‚˜.
  • (Id): μ†ŒμΌ“ κ΅¬λΆ„μž. 이 μΈμžλŠ” 비동기 λͺ¨λ“œμΌ λ•Œ ν•„μˆ˜ν•­λͺ©μ΄λ‹€.
  • (Param1) ~ (Param6): λͺ¨λ“ˆμ˜ 각쒅 섀정값을 확인할 λ•Œ λͺ¨λ“ˆμ— μ˜ν•΄μ„œ ν•„μˆ˜μ μœΌλ‘œ ν¬ν•¨λœλ‹€.
  • ↓: 이것은 μ—”ν„°ν‚€λ₯Ό μ˜λ―Έν•˜λ©°, κ·Έ μ‹€μ œκ°’μ€ CR(0x0D), LF(0x0A)이닀.
  • (Data): κ°€λ³€κΈΈμ΄μ˜ λ§Žμ€ 데이터가 ν•„μš”ν•  λ•Œ, 응닡 μ’…λ₯˜ 'D'와 'R'에 λ’€λ”°λΌμ„œ 'Data'κ°€ 좜λ ₯λœλ‹€. 응닡 μ’…λ₯˜λ³„ 세뢀적인 λ‚΄μš©μ€ λ‹€μŒκ³Ό κ°™λ‹€.
ResponseDescription
Success Response[S,(Id),(Param1),(Param2),(Param3),(Param4),(Param5),(Param6)]↓
λͺ…λ Ή μˆ˜ν–‰ 성곡. ν•„μš”ν•œ 경우, 인자λ₯Ό ν¬ν•¨ν•œ 응닡
Success Dump Response[D,(Id),(Size)]↓(Data)↓
λͺ…λ Ή μˆ˜ν–‰ 성곡. λŒ€μš©λŸ‰ 데이터λ₯Ό ν¬ν•¨ν•œ 응닡.
Fail Response[F,(Id),(ErrorCode),(ErrorParam)]↓
λͺ…λ Ή μˆ˜ν–‰ μ‹€νŒ¨, ν•„μš”ν•œ 경우 μ—λŸ¬μ½”λ“œ ν¬ν•¨ν•œ 응닡
Wait Response[W,(Id)]↓
비동기 λͺ¨λ“œλ‘œ λͺ…령이 μˆ˜ν–‰μ€‘μž„. μ™„λ£Œμ‹œ IDλ₯Ό μ΄μš©ν•΄μ„œ ν‘œμ‹œν•¨.
Data Receive Response[R,(SockId),(ReceivedSize),(SrcIP),(SrcPort)]↓(Data)↓
데이터 μˆ˜μ‹ μ„ μ•Œλ¦Ό. μ†ŒμΌ“ ID둜 μˆ˜μ‹  λŒ€μƒ ꡬ뢄.
Event Response[V,(Id),(EventCode)]↓
이벀트 λ°œμƒ μ•Œλ¦Ό.
  • (Id): 0 - μ‹œμŠ€ν…œ ID or 0~n - μ†ŒμΌ“ μ§€μ •μž
  • (Size): 좜λ ₯ν•œ λ°μ΄ν„°μ˜ 길이
  • (ErrorCode): μ—λŸ¬ μ½”λ“œ
  • (ErrorParam): μ—λŸ¬ μ½”λ“œλ₯Ό μœ„ν•œ Description κ°’
  • (SockId): 데이터λ₯Ό μˆ˜μ‹ ν•œ μ†ŒμΌ“μ˜ μ†ŒμΌ“ κ΅¬λΆ„μž
  • (ReceivedSize): μˆ˜μ‹  λ°μ΄ν„°μ˜ μ‚¬μ΄μ¦ˆ
  • (SrcIP): μ†‘μ‹ μžμ˜ IP μ£Όμ†Œ. 이 μΈμžλŠ” UDP μ†ŒμΌ“μ˜ κ²½μš°μ—λŠ” ν•„μˆ˜ ν•­λͺ©μ΄μ§€λ§Œ, TCP μ†ŒμΌ“μ˜ κ²½μš°μ—λŠ” μƒλž΅λ  수 μžˆλ‹€.
  • (SrcPort): μ†‘μ‹ μž μ†ŒμΌ“μ˜ 포트 λ„˜λ²„. UDP μ†ŒμΌ“μ˜ κ²½μš°μ—λŠ” ν•„μˆ˜ ν•­λͺ©μ΄λ‹€.
  • (EventCode): μ–΄λ–€ μ΄λ²€νŠΈκ°€ λ°œμƒν–ˆλŠ”μ§€μ— λŒ€ν•œ ν‘œμ‹œμž.

Error Code#

General Error Code#

CodeError NameDescription
0ERR_Undefinedμ •μ˜λ˜μ§€ μ•Šμ€ 였λ₯˜
1ERR_WrongOperator잘λͺ»λœ λͺ…λ Ήμ–΄
2ERR_WrongCommandSign잘λͺ»λœ λͺ…λ Ή λΆ€ν˜Έ
3ERR_WrongArguments잘λͺ»λœ μΈμžλ“€
4ERR_OurofRangeμ§€μ •λ²”μœ„λ₯Ό λ²—μ–΄λ‚œ μΈμžλ“€
5ERR_FuncDisabledμ§€μ •λœ ν•¨μˆ˜ μ‚¬μš©λΆˆκ°€
6ERR_NotAllowedν—ˆμš©λ˜μ§€ μ•ŠμŒ
7ERR_CommandBusyλͺ…λ Ή μˆ˜ν–‰μ€‘
8ERR_CommandTimeoutλͺ…λ Ή νƒ€μž„μ•„μ›ƒ

Socket Error Code#

CodeError NameDescription
10ERR_SockNotAvailμ†ŒμΌ“μ΄ κ°€μš©ν•˜μ§€ μ•ŠμŒ
11ERR_SockClosedμ†ŒμΌ“μ΄ λ‹«νž˜
12ERR_SockPortNumNotAvailμ§€μ •λœ 포트 λ„˜λ²„κ°€ μ‚¬μš©ν•  수 μ—†μŒ
13ERR_SockNotConnectedμ—°κ²°λ˜μ§€ μ•ŠμŒ
14ERR_SockWrongAddr잘λͺ»λœ μ£Όμ†Œ
15ERR_SockDataNotAvailableμ‚¬μš©κ°€λŠ₯ν•œ 데이터가 μ—†μŒ

Other Error Code#

CodeError NameDescription
20ERR_NoFreeMemNo Free Memory

Event Code#

Socket Event Code#

CodeSocket Event NameDescription
0EVENT_SockConnected연결됨. μ†ŒμΌ“ μƒνƒœκ°€ Listen μƒνƒœμ—μ„œ μ—°κ²°μƒνƒœλ‘œ 변경됨
1EVENT_SockDisconnectedμ—°κ²°ν•΄μ œλ¨. μ†ŒμΌ“ μƒνƒœκ°€ μ—°κ²°μƒνƒœμ—μ„œ μ—°κ²°ν•΄μ œμƒνƒœλ‘œ 변경됨
2EVENT_SockClosedμ†ŒμΌ“ λ‹«νž˜. μ†ŒμΌ“ μƒνƒœκ°€ λ‹«νž˜μœΌλ‘œ λ°”λ€œ
3EVENT_SockDataRcvd데이터λ₯Ό μˆ˜μ‹ ν•¨. μ—°κ²°λœ μ†ŒμΌ“μ΄ μƒλŒ€λ°©μœΌλ‘œλΆ€ν„° 데이터λ₯Ό μˆ˜μ‹ ν•¨

Network Commands#

CommandProp.Input ParameterResponse
AT+NSETNone or ?[S,,S,(IP),(SN),(GW),(DNS)]
:::::::::[S,,D]
:::=S,(IP),(SN),(GW),(DNS)[S]
::::::D[S]
:::-num,Param[S]
AT+NSTATNone or ?[S,,S/D,(IP),(SN),(GW),(DNS)]
AT+NMACNone or ?[S,,(MAC)]
:::=(MAC)[S]
AT+NOPEN=S/C/U,(SrcPort),(DstIP),(DstPort)[W,(SockId)]
[S,(SockId)]
::::::A:::
AT+NCLOSE=(SockId)[W,(SockId)]
[S,(SockId)]
AT+NSEND=(SockId),(size),(DstIP),(DstPort)[W,(SockId)]
[S,(SockId)]
AT+NSOCKNone or ?[D,,(Size)]↓(Data)
:::=(SockId)[S,,S/C/U,(SrcPort),(DstIP),(DstPort)]
AT+NMODE=S/C/U/M,(SrcPort),(DstIP),(DstPort)[S]

AT+NSET 
  • Format:

    AT+NSET=<DHCP>,<IP>,<SN>,<GW>
  • Meaning: λ„€νŠΈμ›Œν¬ 정보λ₯Ό ν™•μΈν•˜κ±°λ‚˜ μ„€μ •ν•œλ‹€

    \<DHCP>: 정적 IP / μœ λ™ IP μ‚¬μš© 지정

ParameterMeaning
SDHCP Off, Static
DDHCP On, DHCP Client

\<IP>: IP μ£Όμ†Œ (Optional)
\<SN>: μ„œλΈŒλ„· 마슀크 (Optional)
\<GW>: κ²Œμ΄νŠΈμ›¨μ΄ μ£Όμ†Œ (Optional)

  • Response:
[S]

  • Example 1:
  • AT+NSET\r\n AT+NSET?\r\n
  • Meaning: ν˜„μž¬ μ„€μ •λœ λ„€νŠΈμ›Œν¬ 정보λ₯Ό μ½μ–΄μ˜¨λ‹€
  • 응닡에 담겨진 μ£Όμ†Œ(IP μ£Όμ†Œ, μ„œλΈŒλ„·, κ²Œμ΄νŠΈμ›¨μ΄ μ£Όμ†Œ)λŠ” μ‹€μ œ μ£Όμ†Œμ™€ λ‹€λ₯΄κ³  λ©”λͺ¨λ¦¬μ— μ €μž₯된 μ£Όμ†Œμž…λ‹ˆλ‹€. 특히, DHCP λͺ¨λ“œκ°€ 켜져 μžˆμ„ λ•ŒλŠ” λŒ€κ°œ μ‹€μ œ μ£Όμ†Œμ™€ λ‹€λ¦…λ‹ˆλ‹€.

    • Response:

[S,,S,192.168.11.100,255.255.255.0,192.168.11.1,8.8.8.8] [S,,D]

  • Example 2:

    AT+NSET-2,192.168.11.110\r\n

  • Meaning: ν˜„μž¬ μ„€μ •λœ λ„€νŠΈμ›Œν¬ 정보쀑 λ‘λ²ˆμ§Έ 인자인 IP μ£Όμ†Œλ§Œ μ§€μ •λœ κ°’μœΌλ‘œ λ³€κ²½ν•œλ‹€
  • Response:

    [S]

AT+NSTAT  
  • Format:

    AT+NSTAT

    AT+NSTAT?

  • Meaning: ν˜„μž¬ λ„€νŠΈμ›Œν¬ μƒνƒœκ°’μ„ ν‘œμ‹œν•œλ‹€
  • Response:
[S,,<DHCP>,<IP>,<SN>,<GW>,<DNS>]

  • Example 1:

    AT+NSTAT\r\n AT+NSTAT?\r\n

  • Meaning: ν˜„μž¬ λ„€νŠΈμ›Œν¬ μƒνƒœκ°’μ„ ν‘œμ‹œν•œλ‹€
  • Response:
[S,,S,192.168.11.100,255.255.255.0,192.168.11.1,8.8.8.8][S,,D]

AT+NMAC#

  • Format:

AT+NMAC

AT+NMAC?

  • Meaning: λͺ¨λ“ˆμ˜ λ§₯μ£Όμ†Œλ₯Ό ν™•μΈν•˜κ±°λ‚˜ μ„€μ •ν•œλ‹€.

  • Response:

[S,,<MAC>]

  • Response:

[S]


  • Example 1:

    AT+NMAC=00:08:dc:1d:bb:8b\r\n`

  • Meaning: λͺ¨λ“ˆμ˜ λ§₯μ£Όμ†Œλ₯Ό μ§€μ •λœ κ°’μœΌλ‘œ λ³€κ²½ν•œλ‹€
  • Response:

     `[S]`
  • Example 2:
     `AT+NMAC\r\n` `AT+NMAC?\r\n`
  • Meaning: ν˜„μž¬ λͺ¨λ“ˆμ˜ λ§₯μ£Όμ†Œλ₯Ό ν‘œμ‹œν•œλ‹€
  • Response:

     `[S,,00:08:dc:1d:bb:8a]`

`AT+NOPEN ====`
  • Format:

    AT+NOPEN=<SockType>,<SrcPort>,<DstIP>,<DstPort>

  • Meaning: μ†ŒμΌ“ μ΄ˆκΈ°ν™”. μ§€μ •λœ 인자λ₯Ό μ΄μš©ν•΄μ„œ μ†ŒμΌ“μ„ μƒμ„±ν•œλ‹€

\<SockType>: Socket Type

ParameterMeaning
STCP Server Socket
CTCP Client Socket
UUDP Socket

\<SrcPort>: Local Port Number
\<DstIP>: Destination IP Address
\<DstPort>: Destination Port Number

  • Response:
`[W,(SockId)]`
`[S,(SockId)]`

  • Example 1:
AT+NOPEN=C,3000,192.168.11.100,3000\r\n
  • Meaning: μ§€μ •λœ 값을 μ΄μš©ν•΄μ„œ Client μ†ŒμΌ“μ„ μƒμ„±ν•œλ‹€
  • Response:

     `[W,0]` `[S,0]` `[W,0]` `[F,,1]`
  • Example 2:

    `AT+NOPEN=S,5000,,`
  • Meaning: μ§€μ •λœ 포트 λ„˜λ²„λ‘œ Server μ†ŒμΌ“μ„ μƒμ„±ν•œλ‹€
  • Response:

    `[S,,0]`

`AT+NCLOSE`  
  • Format:

    AT+NCLOSE=(SockId)

  • Meaning: μ§€μ •λœ ID의 μ†ŒμΌ“μ„ μ’…λ£Œν•œλ‹€

    \<SockId>: Socket ID
    ν˜„μž¬ AT+Command Modeμ—μ„œ 운용 될 수 μžˆλŠ” μ†ŒμΌ“μ€ 기본적으둜 ν•œκ°œ 이닀. κ·Έλž˜μ„œ Sock IDλŠ” 0이닀.

  • Response:
`[W,(SockId)]`
`[S,(SockId)]`

  • Example 1:

    `AT+NCLOSE=0\r\n` *
  • Meaning: // 데이터 ν†΅μ‹ μš© μ†ŒμΌ“μ„ μ’…λ£Œν•œλ‹€//

  • Response:

    `[W,0]``[S,0]``[F,,11]`

 `AT+NSEND`
  • Format:

    AT+NSEND=<SockId>,<size>,<DstIP>,<DstPort>

  • Meaning: μ—°κ²°λœ μ†ŒμΌ“μ„ ν†΅ν•΄μ„œ 데이터λ₯Ό μ „μ†‘ν•œλ‹€

\<SockId>: Socket ID
\<size>: 보낼 데이터 크기
\<DstIP>: λͺ©μ μ§€ IP μ£Όμ†Œ

  • Response:

    `[W,(SockId)]`
    `[S,(SockId)]`

  • Example 1:

     `AT+NSEND=0,4`
  • Meaning: TCP λͺ¨λ“œμΈ 경우, λͺ©μ μ§€μ˜ IP μ£Όμ†Œμ™€ 포트 λ„˜λ²„λ₯Ό μ§€μ •ν•˜μ§€ μ•ŠλŠ”λ‹€

  • Response:

     `[W,0]` `[S,0]`
  • Example 2: 데이터λ₯Ό λ°›λŠ” ν˜•νƒœ


μœ„ 그림은 "AT+NOPEN=S,5000,,"둜 μ†ŒμΌ“μ„ μƒμ„±ν•˜κ³ , Clientκ°€ λͺ¨λ“ˆμ— μ ‘μ†ν•œ μƒνƒœμ—μ„œ λͺ¨λ“ˆμ—κ²Œ "Hello World"λ₯Ό μ „μ†‘ν•œ 그림이닀. λͺ¨λ“ˆμ€ 받은 데이터λ₯Ό μ•„λž˜μ™€ 같이 ν‘œμ‹œν•¨μ„ μ•Œ 수 μžˆλ‹€. [R,0,11] Hello World


`AT+NSOCK` 
  • Format:

    AT+NSOCK

    AT+NSOCK?

    AT+NSOCK=<SockId>

  • Meaning: AT Command Modeμ—μ„œ μƒμ„±λœ μ†ŒμΌ“μ˜ 정보λ₯Ό 읽어 μ˜¨λ‹€.

\<SockId>: Socket ID
ν˜„μž¬ AT+Command Modeμ—μ„œ 운용 될 수 μžˆλŠ” μ†ŒμΌ“μ€ 기본적으둜 ν•œκ°œ 이닀. κ·Έλž˜μ„œ Sock IDλŠ” 0이닀.

  • Response:
`[D,,<Size>]``[<Data>]`

  • Example 1: "AT+NOPEN=C,5000,192.168.0.3,5000"으둜 μ†ŒμΌ“μ„ μƒμ„±ν•œ 경우

AT+NSOCK\r\n

  • Meaning: AT Command Modeμ—μ„œ μƒμ„±λœ μ†ŒμΌ“μ˜ 정보λ₯Ό 읽어 μ˜¨λ‹€.
  • Response:

    `[D,,25]``0,C,5000,192.168.0.3,5000`
  • Example 2: μ†ŒμΌ“μ„ μƒμ„±ν•˜μ§€ μ•Šμ„ 경우

    AT+NSOCK\r\n

  • Meaning: AT Command Modeμ—μ„œ μƒμ„±λœ μ†ŒμΌ“μ˜ 정보λ₯Ό 읽어 μ˜¨λ‹€.

  • Response:

     `[D,,0]`

`AT+NMODE`   

* Notice: 이 κΈ°λŠ₯은 v1.0.3μ—μ„œ μΆ”κ°€ λ˜μ—ˆμœΌλ©°, v1.1.5 λΆ€ν„°λŠ” AT+MMODE둜 이름이 λ³€κ²½ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

  • Format:

    `AT+NSOCK=S/C/U/M,<SrcPort>,<DstIP><DstPort>`
  • Meaning: Module의 λ„€νŠΈμ›Œν¬ 정보λ₯Ό λ³€κ²½(μžλ™μœΌλ‘œ EEPROM에 μ €μž₯)

    S/C/U/M: Working Mode
    S = Server, C = Client, U = UDP, M = Mixed TCP(Server/Client)

  • Response:
`[S]`

  • Example 1: λͺ¨λ“ˆμ˜ λ„€νŠΈμ›Œν¬ 정보λ₯Ό Client, 둜컬 포트 5000, μ„œλ²„(Remote)IP 192.168.0.3, μ„œλ²„(Remote)포트 5000으둜 λ³€κ²½ν•˜κ³  싢은 경우

    AT+NMODE=C,5000,192.168.0.3,5000\r\n

  • Meaning: λͺ¨λ“ˆμ˜ λ„€νŠΈμ›Œν¬ 정보λ₯Ό Client, 둜컬 포트 5000, μ„œλ²„(Remote)IP 192.168.0.3, μ„œλ²„(Remote)포트 5000으둜 λ³€κ²½/μ €μž₯
  • Response:

     `[S]`

Management Commands#

CommandProp.Input ParameterResponse
ATNone[S]
:::?:::[D,,(Size)]↓(Data)
AT+MSTATNone or ?[S,,(Version)]
AT+MUSARTNone or ?[S,,(BR),(W),(P),(S),(F)]
:::\=(BR),(W),(P),(S),(F)[S]
:::-num,Param[S]
AT+MSAVENone[S]
AT+MRSTNone[S]
AT+MDATANone[S]
AT+MMODENone or ?[S,,(S/C/U/M/Q)),(SrcPort),(DstIP),(DstPort)]
:::\=(S/C/U/M),(SrcPort),(DstIP),(DstPort)[S]
AT+MPASSNone or ?[S,,(Setting Password),(Connection Password)]
:::\=(Setting Password),(Connection Password)[S]
AT+MNAMENone or ?[S,,(Module Name)]
:::\=(Module Name)[S]

AT#

  • Format:
`AT`
  • Meaning: AT μ»€λ§¨λ“œ λͺ¨λ“œμΈμ§€ μ²΄ν¬ν•œλ‹€
  • Response:
`[S]`

`AT+MSTAT ====`
  • Format:

    AT+MSTAT

    AT+MSTAT?

  • Meaning: ν˜„μž¬ νŽŒμ›¨μ–΄ 버전 정보λ₯Ό μ½μ–΄μ˜¨λ‹€
  • Response:
`[S,,<Version>]`

 `AT+MUSART` 
  • Format:

    AT+MUSART=<BR>,<W>,<P>,<S>,<F>

  • Meaning: μ‹œλ¦¬μ–Ό 섀정값을 μ½μ–΄μ˜€κ±°λ‚˜ μƒˆλ‘œμš΄ 섀정값을 μ§€μ •ν•œλ‹€

    Baud rate

ParameterMeaning
300300bps
600600bps
12001200bps
24002400bps
48004800bps
96009600bps
1920019200bps
3840038400bps
5760057600bps
115200115200bps
230400230400bps

Word length
^ Parameter ^ Meaning ^

77 bits
88 bits

Parity bit
^ Parameter ^ Meaning ^

NNONE
OODD
EEVEN

\<S>: Stop bit
^ Parameter ^ Meaning ^

11 bits
22 bits

\<F>: Flow Control
^ Parameter ^ Meaning ^

0NONE
1RTS/CTS
2RS422
3RS485
  • Response:
[S,,<BR>,( <W>, <P>, <S> ) <F>]

  • Example1:
`AT+MUSART\r\n
AT+MUSART?\r\n
  • Meaning: ν˜„μž¬ μ‹œλ¦¬μ–Ό 섀정값을 ν‘œμ‹œν•œλ‹€
  • Response:
[S,,115200,8,N,1,0]
  • Example2:
AT+MUSART=,,E,,0\r\n
  • Meaning: μƒˆλ‘œμš΄ μ‹œλ¦¬μ–Ό 섀정값을 μ§€μ •ν•œλ‹€. 곡백 ν•„λ“œλŠ” λ³€κ²½ν•˜μ§€ μ•Šκ³  Parity, Flow control만 λ³€κ²½ν•œλ‹€
  • Response:
[S]

AT+MSAVE 
  • Format:

    AT+MSAVE

  • Meaning: μ„€μ • 값을 μ €μž₯ν•œλ‹€.

AT+MUSART, AT+NSET을 ν†΅ν•΄μ„œ μ„€μ • 된 값듀은(AT+NMAC μ œμ™Έ) 기본적으둜 λͺ¨λ“ˆμ΄ 리셋이 되기 μ „κΉŒμ§€λ§Œ 가지고 μžˆλ‹€.(Data Modeμ—μ„œλ„ ν•΄λ‹Ή μ„€μ • 값을 κ³΅μœ ν•˜κ³  μžˆλ‹€. Configuration Toolμ—μ„œ Searchλ₯Ό ν†΅ν•΄μ„œ 확인)ν•˜μ§€λ§Œ, λͺ¨λ“ˆμ΄ 리셋이 되면 μ„€μ • μ „μ˜ κ°’μœΌλ‘œ λŒμ•„κ°„λ‹€. ν•˜μ§€λ§Œ, μ‚¬μš©μžκ°€ ν•΄λ‹Ή μ»€λ§¨λ“œ(AT+MSAVE)λ₯Ό ν†΅ν•΄μ„œ μ„€μ •ν•œ 값을 μ €μž₯ν•˜μ—¬ λͺ¨λ“ˆμ΄ 리셋이 λ˜λ”λΌλ„ λ³€ν•˜μ§€ μ•Šκ²Œ ν•  수 μžˆλ‹€. 즉, Configuration Toolμ—μ„œ Setting κΈ°λŠ₯κ³Ό κ°™λ‹€.

  • Response:
[S]

AT+MRST 
  • Format:

    AT+MRST

  • Meaning: λͺ¨λ“ˆμ„ Resetν•œλ‹€.
  • Response:
[S]

AT+MDATA  
  • Format:

    AT+MDATA

  • Meaning: AT μ»€λ§¨λ“œ λͺ¨λ“œμ—μ„œ 데이터 λͺ¨λ“œλ‘œ μ „ν™˜ν•œλ‹€
  • Response:
[S]

AT+MMODE

* Notice: 이 κΈ°λŠ₯은 v1.0.3μ—μ„œ μΆ”κ°€ λ˜μ—ˆμœΌλ©°, v1.1.5 λΆ€ν„°λŠ” AT+MMODE둜 이름이 λ³€κ²½ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
v1.2.0 λΆ€ν„° νŒŒλΌλ©”νƒ€ Q(MQTT)κ°€ μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

  • Format:
AT+MMODE
AT+MMODE?
AT+MMODE=S/C/U/M/Q,<SrcPort>,<DstIP>,<DstPort>
  • Meaning: 데이터 λͺ¨λ“œμ—μ„œμ˜ λ™μž‘ ν™˜κ²½μ„ 확인 ν•˜κ±°λ‚˜ μ„€μ •ν•œλ‹€.
  • Response:
[S,,S/C/U/M/Q,<SrcPort>,<DstIP>,<DstPort>]
[S,,S/C/U/M/Q,<SrcPort>,<DstIP>,<DstPort>]
[S]

AT+MPASS   

* Notice: 이 κΈ°λŠ₯은 v1.1.5λΆ€ν„° μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

  • Format:
AT+MPASS
AT+MPASS?
AT+MPASS=<Setting Password>,<Connection Password>
  • Meaning: λͺ¨λ“ˆμ˜ μ„€μ • λΉ„λ°€λ²ˆν˜Έμ™€ μ—°κ²° λΉ„λ°€λ²ˆν˜Έλ₯Ό 확인 ν•˜κ±°λ‚˜ μ„€μ • ν•œλ‹€.
  • Response:
[S,,<Setting Password>,<Connection Password>]
[S,,<Setting Password>,<Connection Password>]
[S]

 AT+MNAME   

* Notice: 이 κΈ°λŠ₯은 v1.1.5λΆ€ν„° μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.

  • Format:
AT+MNAME
AT+MNAME?
AT+MNAME=<Module Name>
  • Meaning: λͺ¨λ“ˆμ˜ 이름을 확인 ν•˜κ±°λ‚˜ μ„€μ • ν•œλ‹€.
  • Response:
[S,,<Module Name>]
[S,,<Module Name>]
[S]

Function Commands#

CommandProp.Input ParameterResponseNote
AT+FDNSNone[D,,(Size)]↓(Data)
:::\=Domain Name[D,,(Size)]↓(Data)Firmware v1.0.1 Later

 AT+FDNS  
  • Format:

    AT+FDNS

    AT+FDNS=Domain Name

  • Meaning: DNS Queryλ₯Ό μˆ˜ν–‰ν•˜κ³  κ·Έ κ²°κ³Όλ₯Ό μ•Œλ €μ€€λ‹€.

    AT+FDNS만 μˆ˜ν–‰ ν–ˆμ„ 경우 Configuration Tool을 톡해 μ„€μ •ν•œ Domain을 DNS Server IP둜 Queryν•œλ‹€.

  • Response:

[D,,13]DNS Timeout
[D,,17]173.194.126.180

   AT+MQTTSET 
  • Notice: 이 κΈ°λŠ₯은 v1.3.0λΆ€ν„° μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • Format:

    AT+MQTTSET
    AT+MQTTSET?
    AT+MQTTSET=<UserName>,<Password>,<ClientID>
  • Meaning: MQTT 연결에 ν•„μš”ν•œ μ„€μ •

    \<UserName>: The User Name used in the broker authentication (Required, Max: 10 Character)
    \<Password>: The Password used in the broker authentication (Required, Max: 10 Character)
    \<ClientID>: The Client ID connected to the broker (Required, Max: 25 Character)

  • Response:
[S,,<UserName>,<Password>,<ClientID>]
[S,,<UserName>,<Password>,<ClientID>]
[S]

AT+MQTTCON  
  • Notice: 이 κΈ°λŠ₯은 v1.3.0λΆ€ν„° μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • Format:
AT+MQTTCON=<Con/Discon>,<BrokerIP>,<BrokerPort>
  • Meaning: MQTT μ—°κ²° ν•©λ‹ˆλ‹€.

\<Con/Discon>: MQTT Connection (Required)

ParameterMeaning
1Connect to the broker
0Disconnect from the broker
  • Response:
[W,(SockId)]
[S,(SockId)]

AT+MQTTPUB 
  • Notice: 이 κΈ°λŠ₯은 v1.3.0λΆ€ν„° μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • Format:
AT+MQTTPUB=<SockId>,<Topic>,<Size>
  • Meaning: Publish the message to subscribed Client
  • Response:
[W,(SockId)]
[S,(SockId)]

AT+MQTTSUB 
  • Notice: 이 κΈ°λŠ₯은 v1.3.0λΆ€ν„° μΆ”κ°€ λ˜μ—ˆμŠ΅λ‹ˆλ‹€.
  • Format:
AT+MQTTSUB =<Sub/Unsub>,<Topic>
  • Meaning: Such topics will be pushed to the WIZ550S2E when received by the Broker

    \<Sub/Unsub>: Subscribe/Unsubscribe the Topic (Required)

ParameterMeaning
1Subscribe the topic
0Unsubscribe the topic
  • Response:
[S,,<Sub/Unsub>,<Topic>]