Comments (7)
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.
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.
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:
- Try the Arduino LoRa library made by Sandeep Mistry. Please try the LoRaSender example configured for the US915 frequency.
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.
@AMLP2021 when you configured the config.h for US915 did you activate the sub-band that you want to be using
from beelan-lorawan.
@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.
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.
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)
- Stuck on joining network HOT 4
- .setChannel(<int>) doesn't appear to do anything HOT 17
- ElectronicCats HOT 4
- unable to join using OTAA HOT 5
- Can not send/receive data using OTAA Class-C HOT 35
- Getting ACK message for uplink message HOT 12
- Join procedure EU HOT 13
- Issue setting up correct pins for ESP8266 HOT 11
- Method to get DevAddr, NwkSKey and AppSKey HOT 3
- IN865 band HOT 7
- Poor ESP8266 support since 2.0.0 and up HOT 2
- What is What , RFM_pins? HOT 4
- how to downlink class c? HOT 2
- Periodically repeated downlink HOT 13
- DevNonce issue HOT 1
- How to send an keep time as short as possible? HOT 7
- Correct LoRaWAN version (TTN) HOT 4
- ElectronicCats HOT 1
- DevNonce has already been used
- Downlink no longer works HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from beelan-lorawan.