Sends "AT+COPS=" write command to SIM7020 module.
"AT+COPS=" command forces an attempt to select and register the GSM network operator. If the selected operator is not available, no other operator shall be selected.
sim7020-write-cops
@/sim7020-write-cops
Sends "AT+COPS=" write command to SIM7020 module.
"AT+COPS=" command forces an attempt to select and register the GSM network operator. If the selected operator is not available, no other operator shall be selected.
UARTxod/uart/uart
An UART interface to which sim7020 module is wired.
MDnumber
Mode.
Can be:
0 - Automatic mode; FRMT and OPER pins are ignored.
1 - Manual mode; FRMT and OPER pin values should be present.
4 - Manual/automatic mode; OPER pin value should be present. If
manual selection fails, automatic mode (MODE = 0) is entered.
Mode is 0 by default.
FRMTnumber
Format.
Can be:
0 - Long format alphanumeric operator.
1 - Short format alphanumeric operator.
2 - Numeric operator according to GSM Location Area Identification number.
OPERnumber
Operator.
Operator number in format as per FRMT pin value.
SENDpulse
Triggers writting of the AT command.
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.