gabbapeople/sim7020@0.5.3

License: GPL-3.0

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.
example-gsm-check
Example to check the network registration.
example-publish-to-mqtt
Example to publish the pot value to the Adafruit.io web service using the MQTT Protocol.
example-send-smsNo description
example-temp-logger
Example of a simple temperature logger.
generate-random-client-id
Generates a random CAP-sized clientID string of Latin characters from "a" to "z".
search-for-sequence
Check the string for a specific character sequence.
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-cgcontrdp
Sends "AT+CGCONTRDP" execution command to SIM7020 module. "AT+CGCONTRDP" command reports current PDP parameters such as APN (Access Point Name), local IP address, subnet mask e.t.c
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-cgact
Sends "AT+CGACT?" read command to SIM7020 module. "AT+CGACT?" command indicates the state of PDP (Packet Data Protocol) context activation.
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-cpin
Sends "AT+CPIN?" read command to SIM7020 module. "AT+CPIN" command returns the SIM card state and an alphanumeric string indicating whether some password is required for the SIM card or not.
sim7020-read-creg
Sends "AT+CREG?" read command to SIM7020 module. "AT+CREG?" command returns the status of result code presentation N and the value integer STATE which shows whether the network has currently indicated the registration of the device.
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-cpowd
Sends "AT+CPOWD=0" write command to SIM7020 module. "AT+CPOWD=0" command forces the SIM module to switch off.
sim800c-write-cmgfNo description
sim800c-write-cmgsNo 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.