gabbapeople/sim7020@0.3.5

License: GPL-3.0

UNDER DEVELOPMENT!!! Library to work with NB-Not (Narrow Band Internet of Things) module SIM7020 with built-in support network Protocol MQTT (message queuing telemetry transport). This Library is a tool for working with AT commands and can be easily converted to work with other modules of the SIMCOM family.
NodeDescription
ascii-to-hex
Converts a string by changing the characters it contains from ASCII format to Hexadecimal format.
example-get-hardware-info
Example to verify the SIM7020 device. Pressing the button to dump following values in the log: 1) OK; 2) Device IMEI; 3) Device manufacturer; 4) Device model; 5) SIM-card ICCID.
example-gsm-checkNo description
example-publish-to-mqtt
Example to work with MQTT Protocol through the Adafruit.io web service. Press the first button to: 1) Reset the module to factory settings; 2) Check cell signal strength; 3) Set automatic operator registration and check it. Press the second button to: 1) Create a new MQTT instance; 2) Connect to MQTT Adafruit.io server using random client ID, username, and password; 3) Publish a potentiometer value to the MQTT topic (Adafruit.io feed); 4) Disconnect from the server and drop the MQTT instance.
example-temp-loggerNo description
generate-random-client-id
Generates a random CAP-sized clientID string of English characters from "a" to "z".
search-for-sequenceNo description
send-cmd
Sends an AT command to sim7020 module.
sim7020-exe-at
Sends "AT" execution command to SIM7020 module. "AT" command is basic and is used to make sure the module is enabled and the UART interface is functioning.
sim7020-exe-atz
Sends "ATZ" execution command to SIM7020 module. "ATZ" command resets default module configuration.
sim7020-exe-ccid
Sends "AT+CCID" execution command to SIM7020 module. "AT+CCID" command shows ICCID data of the device. ICCID is a unique serial number that a SIM card contains.
sim7020-exe-cgcontrdpNo description
sim7020-exe-csq
Sends "AT+CSQ" execution command to SIM7020 module. "AT+CSQ" command returns received signal strength indication RSSI and channel bit error rate BER from the ME.
sim7020-exe-gmi
Sends "AT+GMI" execution command to SIM7020 module. "AT+GMI" command reports one or more lines of information text which permit the user to identify the sim7020 device manufacturer.
sim7020-exe-gmm
Sends "AT+GMM" execution command to SIM7020 module. "AT+GMM" command reports one or more lines of information text which permit the user to identify the specific model of sim7020 device.
sim7020-exe-gsn
Sends "AT+GSN" execution command to SIM7020 module. "AT+GSN" command reports the IMEI (international mobile equipment identifier) number in information text which permit the user to identify the individual sim7020 device.
sim7020-read-cgactNo description
sim7020-read-cmqnew
Sends "AT+CMQNEW?" read command to SIM7020 module. "AT+CMQNEW?" command shows all connected MQTT instances.
sim7020-read-cops
Sends "AT+COPS?" read command to SIM7020 module. "AT+COPS?" command returns the current mode and the currently selected GSM operator. If no operator is selected, FRMT and OPER fields are omitted.
sim7020-read-cpinNo description
sim7020-read-cregNo description
sim7020-write-cmqcon
Sends "AT+CMQCON=" write command to the SIM7020 module. "AT+CMQCON=" command sends MQTT connection packet.
sim7020-write-cmqdiscon
Sends "AT+CMQDISCON=" write command to SIM7020 module. "AT+CMQDISCON=" command disconnects MQTT.
sim7020-write-cmqnew
Sends "AT+CMQNEW=" write command to SIM7020 module. "AT+CMQNEW=" command creates new MQTT instance.
sim7020-write-cmqpub
Sends "AT+CMQPUB=" write command to SIM7020 module. "AT+CMQNEW=" command sends MQTT publish packet.
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.
sim7020-write-cpowdNo description
sim7020-write-cregNo description
To use the nodes 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.