sim7020-write-cmqnew

gabbapeople/sim7020/sim7020-write-cmqnew

Sends "AT+CMQNEW=" write command to SIM7020 module. "AT+CMQNEW=" command creates new MQTT instance.
sim7020-write-cmqnew
@/sim7020-write-cmqnew
Sends "AT+CMQNEW=" write command to SIM7020 module. "AT+CMQNEW=" command creates new MQTT instance.
UARTxod/uart/uart
An UART interface to which sim7020 module is wired.
IPstring
PRTnumber
MQTT server port. Can be from 0 to 65535.
CTnumber
AT command timeout (ms). Can be from 0 to 60000 ms. Is 12000 by default.
BSnumber
Buffer size. Can be from 20 to 1024. Is 1024 by default.
SENDpulse
Triggers writting of the AT command.
sim7020-write-cmqnew
RESP
DONE
OK
ERR
TOUT
UART
IP
PRT
CT
BS
SEND
TOUTpulse
Pulses when no response is received after a timeout.
ERRpulse
Pulses when the response is received and the response string contains the "ERROR" char sequence.
OKpulse
Pulses when the response is received and the response string contains the "OK" char sequence.
DONEpulse
Pulses when the response is received.
RESPstring
A string that contains the AT command response. May contain CR and LF terminal sequences.
To use the node in your project you should have the gabbapeople/sim7020 library installed. Use the “File → Add Library” menu item in XOD IDE if you don’t have it yet. See Using libraries for more info.