MQTT(No Security) 통신연습
MQTT (Message Queuing Telemetry Transport) is a lightweight broker-based publish/subscribe messaging protocol.
It is a machine-to-machine (M2M)/”Internet of Things” connectivity protocol.
It was designed as an extremely lightweight publish/subscribe messaging transport.
It is useful for connections with remote locations where a small code footprint is required and/or network bandwidth is at a premium.
1. MQTT(No Security) 통신시스템
2. MQTT(No Security) → SIM7000
No | Command | Response | Description |
1 | PDP Context 설정 | ||
AT+SMCONF=”CLIENTID”,”momoiot” | |||
AT+SMCONF=”URL”,”tcp://test.mosquitto.org”,1883 | |||
AT+SMCONF=”KEEPTIME”,60 | |||
AT+SMCONN | |||
AT+SMSUB=”update”,1 | |||
AT+SMPUB=”update”,”5″,1,1 | > | ||
aaaa | |||
AT+SMUNSUB=”update” | |||
AT+SMDISC |