-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not send/receive data using OTAA Class-C #160
Comments
Dear @PadmaIoT Thank you very much for contacting us. With the information you gave me, I will do some tests to verify that everything is correct, and in the same way, I will report anything to you. Could you just give me more information please, for example, did you configure any gateway for your application? Did you move something else in the code? Has it worked for you before? Have a nice day! |
Hello @AndreaZGuz Thanks for your kind response. Here are your answers:
I am waiting for any breakthrough. |
Hi @PadmaIoT We are now trying to replicate your issue in order to give you the best advice for you to make it work! Thank you in advance for your patience. |
Thanks, I am waiting for your update. |
Hi @PadmaIoT My apologies for the delay in my response. I ran some tests with the US915_0, EU868, AS923_1, and AS923_2 frequency bands and found all of them except AS923_1 (AS923) are working properly for me on ChirpStack, I just got the same performance as you. I would like to empahtize that in the dashboard, all the time the device were shown as "Active", even when the board were still "Joining" according to my Serial Monitor. You told me before that Class B worked fine. I would like to ask if there is any possibility you can try any of the tests I ran, in order to confirm maybe an issue specifically with AS923 band. Would you be able to do it? Thanks in advance for your patience. |
Thank you so much for the help. I was thinking to give you some debugging data of the Beelan library Class C node. See below:
And I am pretty sure that if my device can understand the join acceptance then it should work as it should be. Previously for class B device I used the LMIC library which is still online and sending data. see the photos below, these are pictures for my class B devices: I will run tests and let you know. |
Hello again @PadmaIoT If you use our library, RX1 and RX2 windows are fixed to 1 sec. Of course! Thanks for trying. We will be waiting for your outcomes. We are keeping in touch! |
Hello @AndreaZGuz , |
Hello @PadmaIoT, This library is based on version 1.0.3, it has been tested with version 1.0.4 and worked well, but some features may not be compatible or supported. I have already reported the issue. Thank you for your patience and collaboration. |
Hello @AndreaZGuz , Thanks for your continuous support. I have a lack of gateways for different bands. I will run the test with our developer community. I already found a gateway of EU868 from one of my developer friends. Will let you know about the result. My request is not to close the issue unless it is solved |
Hi @PadmaIoT Sure! |
Hi, |
Hi @PadmaIoT ! Thank you very much for trying. |
Thanks, @AndreaZGuz . I will be waiting for your solution. |
Hello there, |
Hello we updated with a pull request the way that OTAA class works, can you try again? |
Hello @PadmaIoT |
Hello @AndreaZGuz Thanks for your update. I appreciate your help. Right now I am far away from my lab. I hope very soon I will be able to run and test and let you know about the update. Good work guys. |
Hi @PadmaIoT |
i can not recieve too anyone fix ? |
Hi @AndreaZGuz ; |
Hello @PadmaIoT! Many thanks for the updates. Thank you for all the collaboration and your patience. |
Hi, I had a similar problem. |
@damattl so you mean you solved it somehow? |
@PadmaIoT As I'm not using Arduino IDE I don't know how to set build flags in Arduino IDE |
What you are using? Platform io? @damattl |
Yes, I'm using PlatformIO @PadmaIoT |
@damattl so you can do uplink and downlink by class C right? Please give me more insight about your configuration of the C class device in LoRa server. I want to know which LoRA server you are using, and when you register your device in the server, what was the configuration you applied. I will be thankful. |
I also have an issue, i attempted to use this library and have imported the new, *fixed library. I setup the end node with the example of Class C OTAA on platform IO and have set all the build flags. I have managed to config my end device on 2 different servers that being TTN and Datacake and managed to make a join connection from my end device to my gateway and also send uplinks and receive them on TTN and Datacake, but for some reason downlinks never work on both of them. I am using ttgo-lora32-v1 with SX1276 lora module. |
Hello! Thank you for following up on this issue and helping us with your feedback and comments. We appreciate your patience and any collaboration. Remember, if you want to contribute to this library, you can always open a pull request with your changes/suggestions. |
first, thanks for your work. I'm using LoRa32 V2.1_1.6, I success to use OTAA after connecting lora1 (DIO1) to the esp32. I also connected lora2 (DIO2). I can joined Helium network (US-915) and send data but It failed to receive any data from the downlink. The received is working correctly in a p2p setup. I tested the latest release, master and the branch linked to the PR 181. Is it something link to RX1 or RX2 frequency for US-915 ? |
Hello @aarnaud, It may be related to the Class you are using. |
Hi @AndreaZGuz, sorry for this missing info, Class C, I want to receive data from helium(using Meteo Scientific), I also have a hotspot, so both are not fare away. |
Hi @aarnaud ! The improvements for this library include some features for Class C. We apologize for the inconvenience and appreciate any contribution. |
This pull request should fix the Joining issue for AS923. Receiving downlink is still an issue. Will check if can fix it. |
Hello,
I intend to send and receive data using Class C but except for join request acceptance nothing is happening.
No payload is sent and received. serial monitor says only "joining", nothing else.
My all configs & details are given Below:
LoRa Config:
Network Server: Chirpstack
Frequency Plan: AS923 (edited in .h file to enable desired frequency plan)
Mac Version: LoRaWAN 1.0.2
Revision: RP002-1.0.3
OTAA: yes
Class: C
Hardware Config:
MCU: Arduino Nano
LoRa Chip: RA-01H (SX1276)
(Hardware is ok, also tested by Class B operation using LMIC)
Code config:
lora.setDeviceClass(CLASS_C); lora.setDataRate(SF9BW125); lora.setChannel(MULTI);
Pin Config:
const sRFM_pins RFM_pins = { .CS = 10, .RST = 9, .DIO0 = 2, .DIO1 = 3, .DIO2 = 4, .DIO5 = 8, };
Serial monitor:
Joining...
Chirpstack LoraWan frame:
In this situation What I can do? Can anyone guide me?
The text was updated successfully, but these errors were encountered: