-
Notifications
You must be signed in to change notification settings - Fork 60
Closed
Description
I apologize if this is a duplicate, I am unable to see any join requests appear on my packet forwarder or network server when using the 1310 set to the EU868 region. I am fairly confident my gateway and server is setup correctly, as I have another device on the EU868 spectrum performing correctly. Is there anything extra I need to account for? This device may of previously been provisioned on the US915 spectrum. I have experimented with changing the data rate, enabling extra channels, and including a delay of ~5 seconds between setting the region and joining.
MKRWAN version: 1.1.0
Murata module version: 1.2.3
Please let me know if there is anything I can try.
Code sample below
Lora Send And Receive
This sketch demonstrates how to send and receive data with the MKR WAN 1300/1310 LoRa module.
This example code is in the public domain.
*/
#define LORA_DEBUG Serial
#include <MKRWAN.h>
LoRaModem modem;
// Uncomment if using the Murata chip as a module
// LoRaModem modem(Serial1);
//#include "arduino_secrets.h"
// Please enter your sensitive data in the Secret tab or arduino_secrets.h
String appEui = ""; // omitted in code sample
String appKey = ""; // omitted in code sample
void setup() {
// put your setup code here, to run once:
Serial.begin(115200);
while (!Serial);
// change this to your regional band (eg. US915, AS923, ...)
if (!modem.begin(EU868)) {
Serial.println("Failed to start module");
while (1) {}
};
delay(5000);
//Serial.print("Your module version is: ");
//Serial.println(modem.version());
//Serial.print("Your device EUI is: ");
//Serial.println(modem.deviceEUI());
//delay(10000);
//Serial.println("Joining");
int connected = modem.joinOTAA(appEui, appKey);
if (!connected) {
Serial.print("Something went wrong; are you indoor? Move near a window and retry ");
Serial.println(connected);
while (1) {}
}
Serial.println("Connected");
}
void loop(){
delay(10000);
}
Metadata
Metadata
Assignees
Labels
No labels