-
Notifications
You must be signed in to change notification settings - Fork 97
Closed
Description
The Device Info sketch configured like so seems to be causing the ESP32 to go into infinite loop.
Has anyone attempted to get this working? Any word on why this happens?
I am using the ESP32's hardware serial port #2. I have attempted to get this working with the
library RN2xx3.h, it will work to a point.
What pin is TheThingsNetwork.h pointed at? or is it even configured? I checked the code and can't
seem to find where this is configured, there is a hardReset function, but that takes a pin as input.
#include <TheThingsNetwork.h>
#define loraSerial Serial2
#define debugSerial Serial
#define freqPlan TTN_FP_US915
TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);
void setup()
{
loraSerial.begin(57600);
debugSerial.begin(115200);
}
void loop()
{
debugSerial.println("Device Information");
debugSerial.println();
ttn.showStatus();
debugSerial.println();
debugSerial.println("Use the EUI to register the device for OTAA");
debugSerial.println("-------------------------------------------");
debugSerial.println();
delay(10000);
}
Metadata
Metadata
Assignees
Labels
No labels