Hello, I am sorry for the low level of the question but I am new to these things, and I find it quite difficult to find myself within the documentation, basically I need to test some crypto algorithmes on a loraWan network for a school project, I have a multitech gateway and two arduinos and the goal is to encrypt messages and share them through the lorawan network, I have added the gateway through the chirpstack web interface (it remains in a state of “never seen”) and then I wrote the following code (with the help of chatgpt) and injected it to my arduino : `#include <MKRWAN.h>
LoRaModem modem;
// Replace with your network credentials
String appEui = “YOUR_APP_EUI”;
String appKey = “YOUR_APP_KEY”;
void setup() {
Serial.begin(115200);
while (!Serial);
// Attempt to start the modem
if (!modem.begin(EU868)) {
Serial.println(“Failed to start module”);
while (1);
};
// Print module version
Serial.print("Your module version is: ");
Serial.println(modem.version());
// Print device EUI
Serial.print("Your device EUI is: ");
Serial.println(modem.deviceEUI());
// Attempt to join the network
Serial.print("Joining network: ");
if (modem.joinOTAA(appEui, appKey)) {
Serial.println(“Successfully joined network”);
} else {
Serial.println(“Failed to join network”);
while (1);
}
}
void loop() {
// Your loop code here
}
`
I also added the arduino as a device (remains never seen aswell), I dont know where to find the application EUI to run the code. Any help of some sorts would be immense because I have received no training nor introduction to these topics and I am basically putting band aids on my project, even telling me go read the documentation (and pointing to the proper place in the documentation to look at) would be more help than I have received untill this point. thanks alot and have a wonderful evening.