send-cmd

gabbapeople/sim7020/send-cmd

Sends an AT command to sim7020 module.
send-cmd
@/send-cmd
Sends an AT command to sim7020 module.
UARTxod/uart/uart
An UART interface to which SIM7020 module is wired.
Tnumber
Timeout in seconds to receive a response from module.
CAPnumber
The capacity of the response string buffer. Defines the maximum length. Must be a constant value.
CMDstring
String that contains an AT command to send.
SENDpulse
Triggers writting of the AT command.
send-cmd
RESPRESPDONEDONEOKOKERRERRTOUTTOUTUARTUARTTTCAPCAPCMDCMDSENDSEND
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.