Home › Forums › Mayfly Data Logger › Using Xbee Cellular Modem with ThingSpeak › Reply To: Using Xbee Cellular Modem with ThingSpeak
2021-08-02 at 4:13 PM
#15762
hello @zeke-holloman. Just looking through it, and yes thats my assumption at the moment is that its the cellular side that is not connecting.
There are 2 parts 1) getting internet & time 2) thing
There are 2 parts 1) getting internet & time 2) thing
hello @zeke-holloman. Just looking through it, and yes thats my assumption at the moment is that its the cellular side that is not connecting.
There are 2 parts 1) getting internet & time 2) thingspeak.
1) If the cell phone connects for NIST time, then it can connect with the internet, and the cell modem account setting is good.
There are 2 parts 1) getting internet & time 2) thingspeak.
1) If the cell phone connects for NIST time, then it can connect with the internet, and the cell modem account setting is good.
2) if thingspeak then doesn’t connect its something to do with the account ino.
I’m just looking at your posted new file
The STREAMDEBUGGER_DBG is a bit strange, it should really be this
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
// ========================================================================== // Wifi/Cellular Modem Options // ========================================================================== // NOTE: Extra hardware and software serial ports are created in the "Settings // for Additional Serial Ports" section HardwareSerial& modemSerial = Serial1; // Use hardware serial if possible #if defined STREAMDEBUGGER_DBG #include <StreamDebugger.h> StreamDebugger modemDebugger(modemSerial, STANDARD_SERIAL_OUTPUT); #define modemSerHw modemDebugger #else #define modemSerHw modemSerial #endif // STREAMDEBUGGER_DBG //#define DigiXBeeCellularTransparent_Module #define DigiXBeeWifi_Module #ifdef DigiXBeeCellularTransparent_Module /** Start [xbee_cell_transparent] */ // For any Digi Cellular XBee's // NOTE: The u-blox based Digi XBee's (3G global and LTE-M global) can be used // in either bypass or transparent mode, each with pros and cons // The Telit based Digi XBees (LTE Cat1) can only use this mode. #include <modems/DigiXBeeCellularTransparent.h> const int32_t modemBaud = 9600; // All XBee's use 9600 by default |
The log you posted with some basic cell phone interface is looking very minimal. Possibly also compile it with
-DMS_DATAPUBLISHERBASE_DEBUG
-DMS_THINGSPEAKPUBLISHER_DEBUG
-DSTREAMDEBUGGER_DBG
.
I was thinking of creating a branch off envirodiy (master) – and seeing if it can be referenced for an update to the cell phone interface so it can show more detail. Gotta try it out.