Running TheThingsNetwork library on Rocket Scream's Mini Ultra LoRaWan

Hey there,

I was trying to use the Device Info example from TheThingsNetwork library with the new Mini Ultra LoRaWan, with a small adaptation in order to use the AltSoftSerial library.
I never used th RN chip before (only bare RFM95 chips, thanks to all the projects around here), thus never used TheThingsNetwork library: is it normal to wait before getting the info from the device or should they print almost immediately?

Thanks

#include <TheThingsNetwork.h>
#include <AltSoftSerial.h>

AltSoftSerial altSerial;

#define loraSerial altSerial
#define debugSerial Serial

#define freqPlan TTN_FP_EU868

TheThingsNetwork ttn(loraSerial, debugSerial, freqPlan);

void setup()
{
  loraSerial.begin(57600);
  debugSerial.begin(9600);
}

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);
}

by wait how long are you talking?

I have replied to your question on our forum. :slightly_smiling_face:

1 Like

support see http://www.rocketscream.com/blog/forums/topic/getting-started-with-mini-ultra-lorawan/

1 Like