Fixed some minor inconsistencies in some Adafruit functions, mainly functions that were declared as int32_t but never actually outputting a negative number, or spelling mistakes in comments, among other things.Documented all available library functions on this page.Added MQTT functions for SIM7000 (see SIM7000 MQTT app note).Added the SIM7000_MQTT_Demo sketch which uses the dedicated MQTT commands.Tested SIM7000 dedicated MQTT commands and SIM7000_MQTT_Demo.ino with CloudMQTT.To use the function addRootCA(), set #define SSL_FONA 1 in Adafruit_FONA.h Currently this feature is only for sending data. Added SSL for TCP: opens port 8883 and allows MQTTS over SSL.Tested SIM7070G general features: texting, reading texts, HTTP GET requests with HTTP_GET() function in Adafruit_FONA_LTE class.Test and document MDM9206 SDK for standalone SIM7000 operation without external microcontroller.Generic stuff (reading supply voltage, netowrk connection, RSSI, etc.).SMS functions (sending/reading/deleting SMS).HTTP functions via LTE CAT-M1 with SIM7000.GPS works on SIM7000 without a SIM card! The NMEA data includes UTC date/time, latitutde, longitude, altitude, etc and is quite accurate! It also obtains a GPS fix fairly quickly, only about 20-30s from cold start and even less (a couple seconds or so) when the device has already been on! However, this may differ based on your location and how deep you're buried inside a building.Ultra low-power power down mode (~7.4uA).HTTP functions on SIM808 and other 2G modules.MQTT working with SIM7000 and SIM808 using TCP commands.Hologram SIM card works great on both the AT&T and Verizon CAT-M1 networks in the USA!.FTP functions on SIM7000G firmware version 1529B01SIM7000G.FTP functions on SIM7000A firmware version 1351B03SIM7000A.Sleep mode and e-DRX configuration (~1.5mA).The following list is a summary of the things I've done so far: Confirmed functionalities To ask questions, get help, or share a project you've done using this hardware or library, please see the Botletics community forum
To see a comprehensive list of every available function in the library, please see this wiki page As such, it's probably the best Arduino library for SIMCom modules available so far and I've also included examples and library functions focusing on sending data to the cloud via HTTP/HTTPS/MQTT with more functionalities always being tested! The library in this repo is an altered library built upon the original Adafruit FONA library with added functionality for 2G (SIM800/808), 3G (SIM5320), 4G LTE ( see the SIM7500 shield) and the SIM7000 LTE CAT-M/NB-IoT module.
#Fona 3g proteus library software
To use the shield, simply follow the step-by-step wiki to attach the headers, plug the shield into an Arduino, insert a compatible SIM card, attach the dual LTE/GPS antenna, and you're ready to load the example code!Ĭheck out the comprehensive wiki or use this Instructables to get started if that works better for you!Īll PCB design files and hardware are released under the Creative Commons Attribution Share Alike 4.0 license.Īll other software is released under the GNU General Public License v3.0. The shield also includes a high-accuracy I2C temperature sensor for IoT monitoring applications. The shield can be used in different regions around the world simply by using the appropriate module version, either the SIM7000A (American), SIM7000C (Chinese), SIM7000E (European), or SIM7000G (Global) as detailed in my Github wiki. This shield uses SIMCOM's SIM7000-series LTE module which is a low-power cellular module that supports the new LTE CAT-M1 and NB-IoT technology and also has integrated high-speed, multi-GNSS (GPS, GLONASS and BeiDou/Compass, Galileo, QZSS standards) for location tracking. I am assuming the function is not detecting the packet input.
#Fona 3g proteus library code
I have also tried initializing char* packet before packet = 0 and the code runs all the way through. I have tried commenting out packet = 0 and the code runs all the way through. I am trying to implement it but my code seems to get stuck at packet = 0 under function bool Adafruit_FONA_3G::TCPsend(char *packet). More specifically, I am really confused on how TCPSend works under the Adafruit_FONA_3G class. I am trying to send a packet to a server over 3g and TCP connection.