AT Command로 Mqtt 서버 접속
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Wireless
No replies yet. Be the first to reply.
Join the discussion.
Share projects and connect with makers.
Joined before the site update? first.
New to WIZnet Makers?
We sent a verification link to your address. Open it to activate your account, then log in.
Accounts from this email provider are reviewed by an administrator after verification. Approval usually takes one business day.
Already have an account?
Enter your email address. If it belongs to an account, we'll send a link to set a new password. Members who joined before the site update use this to set their password.
If an account uses that address, we sent a link to set a new password. The link works once and expires in 30 minutes.
Know your password?
Need an account?
RE: AT Command로 Mqtt 서버 접속
by wizdaniel ·
안녕하세요
AT command만으로 MQTT서버에 접속은 할 수 있겠지만, 실제적인 데이터를 publish 하시려면 해당 라이브러리를 사용하셔야합니다.
AT command로 MQTT broke 서버에 접속 하시는 방법은 일반적은 TCP Client 예제를 사용하시면 됩니다.
MQTT broke 서버의 IP가 11.22.33.44 이고 port가 1234라고 한다면
AT+WSET=0,SSID (공유기 SSID)
AT+WSEC=0,PWD (공유기 비밀번호)
AT+WNET=1 (DHCP Client)
AT+WJOIN
AT+SCON=O,TCN,11.22.33.44,1234,1
이정도 명령어면 서버에 연결 하실 수 있습니다.
AT command의 파라메터에 대해서 더 궁금하시다면 저희 wiki 사이트를 참고해주세요
[url]http://wizwiki.net/wiki/doku.php?id=products:wizfi250:wizfi250pg:start#at_command_set[/url]