Skip to main content

User's Guide(Kor)

Overview#

WIZ-Embedded WebServer๋Š” ์†Œํ˜•์˜ ๋งˆ์ด์ปด์œผ๋กœ ๋™์ž‘ํ•˜๋Š” Web Server๋กœ์จ Web Browser์ƒ ์—์„œ ๋””์ง€ํ„ธ ์ถœ๋ ฅํฌํŠธ๋ฅผ ์ œ์–ดํ•˜๊ฑฐ๋‚˜ ๋””์ง€ํ„ธ ์ž…๋ ฅ ๋ฐ ์•„๋‚ ๋กœ๊ทธ ์ž…๋ ฅ ๊ฐ’์„ ๋ชจ๋‹ˆํ„ฐ๋ง ํ•  ์ˆ˜ ์žˆ๋Š” Embedded Web Server Application Board์ž…๋‹ˆ๋‹ค. Web Browser์—์„œ ๋ณด๋“œ๋กœ ์ ‘์†ํ•˜์˜€์„ ๋•Œ ์ถœ๋ ฅ๋˜๋Š” ์›นํŽ˜์ด์ง€๋Š” ๋ณด๋“œ์— ์žฅ์ฐฉ๋œ micro SD slot์˜ ๋ฉ”๋ชจ๋ฆฌ ์นด๋“œ์— ์ €์žฅ๋˜์–ด ์žˆ์œผ๋ฉฐ ๋„คํŠธ์›์„ ํ†ตํ•ด ๋””๋ฐ”์ด์Šค๋ฅผ ์ปจํŠธ๋กค ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ฃผ์š”๊ธฐ๋Šฅ

  • HTTP Server๋กœ ๋™์ž‘
  • W5500 ํ•˜๋“œ์›จ์–ด ์นฉ์— ์˜ํ•œ ์•ˆ์ •์„ฑ ๋ฐ ์‹ ๋ขฐ์„ฑ ํ™•๋ณด
  • Configuration Tool Program ์ œ๊ณต
  • 10/100 Mbps Ethernet ์ธํ„ฐํŽ˜์ด์Šค
  • RoHS Compliant

TFTP Guide Document#

TFTP ์‚ฌ์šฉ ๊ฐ€์ด๋“œ ๋ฌธ์„œ

Configuration Tool#

Description#

WIZnet Configuration tool์€ java ๊ธฐ๋ฐ˜์œผ๋กœ ๊ตฌํ˜„๋œ ์‘์šฉํ”„๋กœ๊ทธ๋žจ์œผ๋กœ ๋Œ€๋ถ€๋ถ„์˜ OS Platform์—์„œ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•˜๋‹ค. .jar ํŒŒ์ผ์„ ๋‹ค์šด๋กœ๋“œํ•ด์„œ Java Virtual machine์ƒ์—์„œ ์‹คํ–‰๋˜๋„๋ก ํ•˜๋ฉด ๋œ๋‹ค. ๐ŸŒŽ์„ค์น˜๋ฐฉ๋ฒ•

WIZnet Configuration tool์€ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ํฌ๊ฒŒ ๋„ค๊ฐœ ๋ถ€๋ถ„์œผ๋กœ ๊ตฌ์„ฑ๋˜์–ด์ ธ ์žˆ๋‹ค.

1) Common Configuration ๋ถ€๋ถ„ 2) Network Configuration ๋ถ€๋ถ„ 3) Serial Configuration ๋ถ€๋ถ„ 4) Option Configuration ๋ถ€๋ถ„ WIZ550WEB์€ 1), 2) ๋‘๊ฐ€์ง€ ํ•ญ๋ชฉ๊ณผ 4) ํ•ญ๋ชฉ์˜ โ€œModule Nameโ€, โ€œSetting Passwordโ€ ๊ธฐ๋Šฅ์„ ์„ค์ • ํ•  ์ˆ˜ ์žˆ๋‹ค. ๋‹ค๋ฅธ ์„ค์ • ํ•ญ๋ชฉ๋“ค์€ WIZ550WEB์˜ ์›นํŽ˜์ด์ง€๋ฅผ ํ†ตํ•ด ์„ค์ • ํ•  ์ˆ˜ ์žˆ๋‹ค.

Notice: WIZnet Configuration Tool 1.02 ๋ฒ„์ „ ๋ถ€ํ„ฐ WIZ550WEB์˜ ์„ค์ •์„ ์ง€์›ํ•œ๋‹ค.

Common Configurations#

Search#

Search ๊ธฐ๋Šฅ์€ ๊ฐ™์€ LAN ์ƒ์— ์กด์žฌํ•˜๋Š” ๋ชจ๋“  ๋ชจ๋“ˆ์„ ๊ฒ€์ƒ‰ํ•˜๋Š” ๋ฐ ์‚ฌ์šฉ๋œ๋‹ค. UDP ๋ธŒ๋กœ๋“œ์บ์ŠคํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ, ๋™์ผํ•œ Subnet ์ƒ์˜ ๋ชจ๋“  ๋ชจ๋“ˆ์ด ๊ฒ€์ƒ‰๋˜๋ฉด, ํ•ด๋‹น ๋ชจ๋“ˆ์˜ MAC Address๊ฐ€ ํ‘œ์‹œ ๋œ๋‹ค.

Setting#

๋ณธ ๊ธฐ๋Šฅ์€ ๋ชจ๋“ˆ์˜ ๊ฐ์ข… ์˜ต์…˜ ๋˜๋Š” ์„ค์ • ๊ฐ’์„ ๋ณ€๊ฒฝํ•  ๋•Œ ์‚ฌ์šฉํ•˜๋Š” ๊ธฐ๋Šฅ์ด๋‹ค. ๋ชจ๋“  ์„ค์ •๊ฐ’ ๋ณ€๊ฒฝ ๋˜๋Š” ์„ ํƒ ํ›„์— โ€œSettingโ€ ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ์•ผ ๊ทธ ๊ฐ’์ด ๋ชจ๋“ˆ์— ๋ฐ˜์˜์ด ๋˜๊ณ , ๋ณ€๊ฒฝ๋œ ๊ฐ’์€ ๋ชจ๋“ˆ๋‚ด์˜ EEPROM์— ์ €์žฅ๋˜์–ด ๋ชจ๋“ˆ์˜ ์ „์›์ด ์ฐจ๋‹จ๋˜๋Š” ๊ฒฝ์šฐ์—๋„ ๊ทธ ์„ค์ • ๊ฐ’์ด ์œ ์ง€๋˜๊ฒŒ ๋œ๋‹ค. ์„ค์ • ๊ฐ’์„ ๋ณ€๊ฒฝํ•˜๋Š” ๊ณผ์ •์€ ๋‹ค์Œ๊ณผ ๊ฐ™๋‹ค.

  1. "Search Windowsโ€์—์„œ ์„ค์ • ๊ฐ’์„ ๋ณ€๊ฒฝํ•  ๋ชจ๋“ˆ์˜ MAC Address๋ฅผ ์„ ํƒ(ํด๋ฆญ)ํ•˜๋ฉด, ํ•ด๋‹น ๋ชจ๋“ˆ์— ์ €์žฅ๋˜์–ด ์žˆ๋Š” ์„ค์ • ๊ฐ’์ด ๊ฐ ํ•„๋“œ์— ํ‘œ์‹œ ๋œ๋‹ค.
  2. ์›ํ•˜๋Š” ํ•„๋“œ์˜ ์„ค์ • ๊ฐ’์„ ๋ณ€๊ฒฝํ•˜๊ณ 
  3. "Setting" ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด, ํŒจ์Šค์›Œ๋“œ ์ž…๋ ฅ์ฐฝ์ด ๋œฌ๋‹ค.
  • ๊ธฐ๋ณธ ํŒจ์Šค์›Œ๋“œ๋Š” "WIZnet" ์ด๋‹ค.
  1. "Setting Password"๋ฅผ ์ž…๋ ฅํ•˜๊ณ  OK ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด, configuration ์ž‘์—…์ด ์™„๋ฃŒ๋˜๋ฉฐ,
  2. ๋ณ€๊ฒฝ๋œ configuration์œผ๋กœ ์ดˆ๊ธฐํ™” ๋œ๋‹ค. (๋ชจ๋“ˆ์ด ์ž๋™์œผ๋กœ re-booting ๋จ)
  3. ๋ณ€๊ฒฝ๋œ configuration์„ ํ™•์ธํ•˜๊ธฐ ์œ„ํ•ด์„œ๋Š” Search ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ์„œ ๋ชจ๋“ˆ์„ ๋‹ค์‹œ ๊ฒ€์ƒ‰ํ•œ๋‹ค.

F/W Uploading#

TFTP๋ฅผ ํ†ตํ•˜์—ฌ ํŽŒ์›จ์–ด๋ฅผ ์—…๋กœ๋“œ ํ•œ๋‹ค. โ€œF/W Uploadingโ€ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ์•„๋ž˜์˜ ์ฐฝ์ด ๋œจ๋ฉฐ, ์„ค์ • ์ •๋ณด๋“ค์„ ์ž…๋ ฅํ•œ ๋’ค โ€œOKโ€ ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ์—…๋ฐ์ดํŠธ๊ฐ€ ์ง„ํ–‰๋œ๋‹ค.

Server IP : TFTP ์„œ๋ฒ„ IPServer Port : TFTP ์„œ๋ฒ„ Port (TFTP default Port : 69)File Name : ํŽŒ์›จ์–ด ํŒŒ์ผ ์ด๋ฆ„Password : ์„ค์ • ํŒจ์Šค์›Œ๋“œ

โ˜ž ํ˜„์žฌ Configuration tool์€ TFTP๋ฅผ ์ง€์›ํ•˜์ง€ ์•Š๋Š”๋‹ค. ๊ทธ๋Ÿฌ๋ฏ€๋กœ ๋ณ„๋„์˜ TFTP ์„œ๋ฒ„ ํ”„๋กœ๊ทธ๋žจ์„ ์‚ฌ์šฉํ•˜์—ฌ ํŽŒ์›จ์–ด๋ฅผ ์—…๋กœ๋“œ ํ•ด์•ผ ํ•œ๋‹ค.

Reset#

์ด ๊ธฐ๋Šฅ์€ ๋ชจ๋“ˆ์„ Reset(์žฌ๋ถ€ํŒ…) ํ•˜๋Š” ๊ธฐ๋Šฅ์œผ๋กœ ์„ค์ • ์‹œ โ€œSetting Passwordโ€๋ฅผ ์š”๊ตฌํ•œ๋‹ค.

Factory Reset#

์ด ๊ธฐ๋Šฅ์€ ๋ชจ๋“  ์„ค์ •์„ factory default ์„ค์ •์œผ๋กœ ์ดˆ๊ธฐํ™” ํ•˜๋Š” ๊ธฐ๋Šฅ์œผ๋กœ ์„ค์ • ์‹œ โ€œSetting Passwordโ€๋ฅผ ์š”๊ตฌํ•œ๋‹ค. Factory default ๊ฐ’์€ ์•„๋ž˜ ํ‘œ์™€ ๊ฐ™๋‹ค.

**CategoryItemValue**
NetworkLocal IP192.168.11.100
Local Gateway192.168.11.1
Local Subnet255.255.255.0

Exit#

Configuration tool ํ”„๋กœ๊ทธ๋žจ์„ ์ข…๋ฃŒํ•œ๋‹ค.

Search Window#

โ€œSearchโ€ ๋ฒ„ํŠผ์„ ์„ ํƒํ•˜๋ฉด, ๋™์ผ Subnet ์ƒ์˜ ๋ชจ๋“  ๋ชจ๋“ˆ์˜ MAC Address๊ฐ€ ํ‘œ์‹œ ๋œ๋‹ค.

Search Method#

Reserved

Firmware Version#

ํŽŒ์›จ์–ด ๋ฒ„์ „์„ ํ‘œ์‹œํ•œ๋‹ค.

Network Configurations#

IP#

๋ชจ๋“ˆ์˜ IP ์ •๋ณด๋ฅผ ์„ค์ •ํ•˜๋Š” ์„น์…˜์ด๋‹ค.

IP: ๋ชจ๋“ˆ์˜ IP AddressGateway: ๋ชจ๋“ˆ์˜ Gateway AddressSubnet mask: ๋ชจ๋“ˆ์˜ Subnet Mask

โ˜ž If you are unclear about your Local IP, Subnet Mask, Gateway information, you have to get this information from your network administrator. If the IP address is not correct, IP collision or network problems may occur.

Options Configurations#

Module Name#

๊ฐ ๋ชจ๋“ˆ์— ์„ค์ •๋œ ์ด๋ฆ„์ด ํ‘œ์‹œ ๋œ๋‹ค.

Password#

์ด ๊ธฐ๋Šฅ์€ ์ธ์ฆ์„ ์œ„ํ•œ ํŒจ์Šค์›Œ๋“œ๋ฅผ ์„ค์ •ํ•˜๋Š” ์„น์…˜์ด๋‹ค.

Setting Password : "Setting", "F/W Uploading", "Reset", "Factory Reset" ์‹œ ์ธ์ฆ์„ ์œ„ํ•œ ํŒจ์Šค์›Œ๋“œ

AT Commands Set#

์ด ์žฅ์—์„œ๋Š” WIZ550WEB์˜ 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) ๋กœ ๋๋‚˜์•ผํ•œ๋‹ค.

์–ด๋–ค ์ธ์ž๋“ค์€ ํ•„์ˆ˜ํ•ญ๋ชฉ์ด๊ณ  ๋˜ ๋‹ค๋ฅธ ํ•ญ๋ชฉ๋“ค์€ ์˜ต์…˜์ด๋‹ค. ์ธ์ž๋“ค์€ ๋ช…๋ น์–ด ํ‘œ์— ์ œ์‹œ๋œ ๊ฒƒ๊ณผ ๊ฐ™์€ ์ˆœ์„œ๋กœ ์ž…๋ ฅํ•ด์•ผํ•œ๋‹ค. ์˜ต์…˜ ํ•ญ๋ชฉ๋“ค์ด ์‚ฌ์šฉํ•˜์ง€ ์•Š๋Š” ๊ฒฝ์šฐ๋ผ ํ• ์ง€๋ผ๋„ ์ฝค๋งˆ ๊ตฌ๋ถ„์ž๋Š” ๋ฐ˜๋“œ์‹œ ๋ช…๋ น์–ด์— ํฌํ•จํ•ด์•ผํ•œ๋‹ค. ๋Œ€๋ถ€๋ถ„์˜ ๊ฒฝ์šฐ์—, ๋ช…๋ น์–ด๊ฐ€ ์œ ํšจํ•œ ๊ฒฝ์šฐ์— WIZ550WEB๋Š” [S]๋ฅผ ์‘๋‹ตํ•˜๊ณ , ์ž˜๋ชป๋œ ๋ช…๋ น์—๋Š” [F]๋ฅผ ์‘๋‹ตํ•œ๋‹ค. WIZ550WEB๊ฐ€ ๋‚ด ๋ณด๋‚ผ ์ˆ˜ ์žˆ๋Š” ์‘๋‹ต์€ Responses์— ํ‘œ์‹œ๋˜์–ด์ ธ์žˆ๋‹ค.

์•„๋ž˜๋Š” ์‚ฌ์šฉ์ž๊ฐ€ ์ž…๋ ฅํ•  ์ˆ˜ ์žˆ๋Š” ์˜ˆ์ œ๋“ค์ด๋‹ค. ์˜ˆ์ œ์—์„œ ๋ณผ ์ˆ˜ ์žˆ๋Š” ๊ฒƒ์ฒ˜๋Ÿผ, WIZ550WEB์˜ ์‘๋‹ต์—๋„ ํ•ญ์ƒ โ€œ\r\nโ€๊ฐ€ ์กด์žฌํ•œ๋‹ค.

์‚ฌ์šฉ์ž์˜ ์ž…๋ ฅAT\r\n (0x61 0x74 0x0d 0x0a)
WIZ550WEB์˜ ์‘๋‹ต[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+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=<MAC>

  • Meaning: Get MAC Address
  • Response:

[S,,<MAC>]
[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]

Management Commands#

CommandProp.Input ParameterResponse
ATNone[S]
?[D,,(Size)]โ†“(Data)
AT+MSTATNone or ?[S,,(Version)]
AT+MUSART1None or ?[S,,(BR),(W),(P),(S),(F)]
=(BR),(W),(P),(S),(F)[S]
-num,Param[S]
AT+MUSART2None or ?[S,,(BR),(W),(P),(S),(F)]
=(BR),(W),(P),(S),(F)[S]
-num,Param[S]
AT+MSAVENone[S]
AT+MRSTNone[S]
=F[S]

AT#

  • Format:

AT

  • Meaning: AT ์ปค๋งจ๋“œ ๋ชจ๋“œ์ธ์ง€ ์ฒดํฌํ•œ๋‹ค
  • Response:

[S]


AT+MSTAT#

  • Format:

AT+MSTAT

AT+MSTAT?

  • Meaning: ํ˜„์žฌ ํŽŒ์›จ์–ด ๋ฒ„์ „ ์ •๋ณด๋ฅผ ์ฝ์–ด์˜จ๋‹ค
  • Response:

[S,,<Version>]


AT+MUSART1#

  • Format:

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

  • Meaning: ์‹œ๋ฆฌ์–ผ ์„ค์ •๊ฐ’์„ ์ฝ์–ด์˜ค๊ฑฐ๋‚˜ ์ƒˆ๋กœ์šด ์„ค์ •๊ฐ’์„ ์ง€์ •ํ•œ๋‹ค

<BR>: Baud rate

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

<W>: Word length

ParameterMeaning
88 bits
99 bits

<P>: Parity bit

ParameterMeaning
NNONE
OODD
EEVEN

<S>: Stop bit

ParameterMeaning
11 bits
22 bits

<F>: Flow Control

ParameterMeaning
0NONE
1RTS/CTS
  • Response:

[S,,<BR>,<W>,<P>,<S>,<F>]

  • Example1:

AT+MUSART1\r\n
AT+MUSART1?\r\n

  • Meaning: ํ˜„์žฌ ์‹œ๋ฆฌ์–ผ ์„ค์ •๊ฐ’์„ ํ‘œ์‹œํ•œ๋‹ค
  • Response:

[S,,115200,8,N,1,0]

  • Example2:

AT+MUSART1=,,E,,0\r\n

  • Meaning: ์ƒˆ๋กœ์šด ์‹œ๋ฆฌ์–ผ ์„ค์ •๊ฐ’์„ ์ง€์ •ํ•œ๋‹ค. ๊ณต๋ฐฑ ํ•„๋“œ๋Š” ๋ณ€๊ฒฝํ•˜์ง€ ์•Š๊ณ  Parity, Flow control๋งŒ ๋ณ€๊ฒฝํ•œ๋‹ค
  • Response:

[S]


AT+MUSART2#

  • Format:

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

  • Meaning: ์‹œ๋ฆฌ์–ผ ์„ค์ •๊ฐ’์„ ์ฝ์–ด์˜ค๊ฑฐ๋‚˜ ์ƒˆ๋กœ์šด ์„ค์ •๊ฐ’์„ ์ง€์ •ํ•œ๋‹ค

<BR>: Baud rate

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

<W>: Word length

ParameterMeaning
88 bits
99 bits

<P>: Parity bit

ParameterMeaning
NNONE
OODD
EEVEN

<S>: Stop bit

ParameterMeaning
11 bits
22 bits

<F>: Flow Control

ParameterMeaning
0NONE
1RTS/CTS
  • Response:

[S,,<BR>,<W>,<P>,<S>,<F>]


  • Example1:

AT+MUSART2\r\n
AT+MUSART2?\r\n

  • Meaning: ํ˜„์žฌ ์‹œ๋ฆฌ์–ผ ์„ค์ •๊ฐ’์„ ํ‘œ์‹œํ•œ๋‹ค
  • Response:

[S,,115200,8,N,1,0]

  • Example2:

AT+MUSART2=,,E,,0\r\n

  • Meaning: ์ƒˆ๋กœ์šด ์‹œ๋ฆฌ์–ผ ์„ค์ •๊ฐ’์„ ์ง€์ •ํ•œ๋‹ค. ๊ณต๋ฐฑ ํ•„๋“œ๋Š” ๋ณ€๊ฒฝํ•˜์ง€ ์•Š๊ณ  Parity, Flow control๋งŒ ๋ณ€๊ฒฝํ•œ๋‹ค
  • Response:

[S]

AT+MSAVE#

  • Format:

AT+MSAVE

  • Meaning: ํ˜„์žฌ ์„ค์ •๋œ ์ •๋ณด๋“ค์„ Flash ๋ฉ”๋ชจ๋ฆฌ์— ์ €์žฅํ•œ๋‹ค

  • Response:

[S]


AT+MRST#

  • Format:

AT+MRST

  • Meaning: ๋ชจ๋“ˆ์„ ๋ฆฌ์…‹ํ•œ๋‹ค

  • Response:

[S]

Function Commands#

CommandProp.Input ParameterResponse
AT+FIODIR=(PIN)[S,,(Direction)]
=(PIN),(Direction)[S]
AT+FIOVAL=(PIN)[S,,(VAL)]
=(PIN),(VAL)[S]

AT+FIODIR#

  • Format:

AT+FIODIR=<PIN>
AT+FIODIR=<PIN>,<Direction>

  • Meaning: GPIO Pin Direction์„ ํ™•์ธํ•˜๊ฑฐ๋‚˜ ์„ค์ •ํ•œ๋‹ค

< PIN> : GPIO Pin Number (1 ~ 16) < Direction> : GPIO Pin Direction

ParameterMeaning
0Not Used (Read Only)
1Input
2Output
  • Response:

[S,,<Direction>]

[S]


  • Example1:

AT+FIODIR=1\r\n

  • Meaning: GPIO Pin 1๋ฒˆ Direction์„ ํ‘œ์‹œํ•œ๋‹ค.
  • Response:

[S,,1]

  • Example2:

AT+FIODIR=1,2\r\n

  • Meaning: GPIO Pin 1๋ฒˆ Direction์„ Output์œผ๋กœ ์„ค์ •ํ•œ๋‹ค.
  • Response:

[S]

AT+FIOVAL#

  • Format:

AT+FIOVAL=<PIN>
AT+FIOVAL=<PIN>,<VAL>

  • Meaning: GPIO Pin ์ž…์ถœ๋ ฅ์„ ์„ค์ •ํ•˜๊ฑฐ๋‚˜ ํ™•์ธํ•œ๋‹ค.

< PIN> : GPIO Pin Number (1 ~ 16) < VAL> : GPIO Pin Output Value

ParameterMeaning
0Low
1High
  • Response:

[S,,<VAL>]
[S]


  • Example1:

AT+FIOVAL=1\r\n

  • Meaning: GPIO Pin 1๋ฒˆ ์ž…์ถœ๋ ฅ๊ฐ’์„ ํ™•์ธํ•œ๋‹ค.

  • Response:

[S,,1]

  • Example2:

AT+FIOVAL=1,1\r\n

  • Meaning: GPIO Pin 1๋ฒˆ ์ถœ๋ ฅ์„ High๋กœ ์„ค์ •ํ•œ๋‹ค.(Output Only)

  • Response:

[S]