Giter Club home page Giter Club logo

Comments (7)

xpeqex avatar xpeqex commented on June 24, 2024

Hi @AMLP2021

Thank you for contacting us!

In order to understand the issue better we request the following:

  • What activation method are you using (ABP, OTAA)?
  • The code.

This problem may be caused by a TX Done flag. The "TX Done" flag is a key component of the communication protocol in LoRaWAN that provides feedback to devices on the success or failure of their transmissions, allowing them to take appropriate action to ensure reliable communication with the network server.

I'm looking forward to your reply!

from beelan-lorawan.

AMLP2021 avatar AMLP2021 commented on June 24, 2024

i'm using ABP.
Hardware: Arduino Nano
Chip Lora: RFM95

Code:

const unsigned long interval = 30000; // 5 s interval to send message
unsigned long previousMillis = 0; // will store last time message sent
unsigned int counter = 0; // message counter

const char* myStr = "" ;
String datos;
char outStr[255];
byte recvStatus = 0;

const sRFM_pins RFM_pins = {
.CS = 10,
.RST = 9,
.DIO0 = 2,
.DIO1 = 6,
.DIO2 = 7,
.DIO5 = 8,
};

void setup() {
// Setup loraid access
Serial.begin(19200);
// initialize digital pin LED_BUILTIN as an output.
pinMode(12, OUTPUT);
delay(10000);
if (!lora.init()) {
Serial.println("RFM95 not detected");
while(1);
delay(5000);
return;
}

// Set LoRaWAN Class change CLASS_A or CLASS_C
lora.setDeviceClass(CLASS_A);

// Set Data Rate
lora.setDataRate(SF7BW125);

// set channel to random
lora.setChannel(1);

// Put ABP Key and DevAddress here
lora.setNwkSKey(nwkSKey);
lora.setAppSKey(appSKey);
lora.setDevAddr(devAddr);
}

from beelan-lorawan.

xpeqex avatar xpeqex commented on June 24, 2024

Hi @AMLP2021

Thank you for the update.

After reading your code I realized that there is nothing wrong with it. That is why we would like you to try the following:

The Arduino LoRa library is purely LoRa communication, but this will help us to better identify what is the problem you are having. Please let us know your findings!

from beelan-lorawan.

wero1414 avatar wero1414 commented on June 24, 2024

@AMLP2021 when you configured the config.h for US915 did you activate the sub-band that you want to be using

from beelan-lorawan.

AMLP2021 avatar AMLP2021 commented on June 24, 2024

@AMLP2021cuando configuró config.h para US915, activó la sub-banda que desea usar

yes, i activated #define SUBND_0 // 902.3 - 903.7 Mhz

from beelan-lorawan.

wero1414 avatar wero1414 commented on June 24, 2024

So it is probably that your radio is not doing well while transmiting at 915Mhz it could be only for 868Mhz, i suggest you to use the Arduino LoRa library to test just the transmission on that frequency cause we have been using this library for 915 Mhz for a while without a problem.

from beelan-lorawan.

xpeqex avatar xpeqex commented on June 24, 2024

Hello @AMLP2021 !

We will now close this issue.

However, if you have any doubts or questions, you can reopen the issue or if you think it is necessary, create another one.

Have an amazing day!

Kind regards!
Support Team.

from beelan-lorawan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.