HelTecAutomation / ESP32_LoRaWAN

Transplanted from Semtech LoRaWAN(https://github.com/Lora-net/LoRaMac-node) protocol to "ESP32 + Arduino" platform. Use RTC, support deep sleep, only working with ESP32 + LoRa boards made by HelTec Automation(TM). Need a unique license to use it.
343 stars 108 forks source link

Can't join after a while E868 #12

Open OstertagM opened 5 years ago

OstertagM commented 5 years ago

Dear Support, I have tested with the example when joins work for some times. But after some test i didn't any more! But I see on my gateway the the join is accepted but it will not be received! What happens? Also on my app it will never join! I think here the waiting time or something other is bad, but what?

Unbenannt

DestinyFxxker commented 4 years ago

This looks like the node missed the wake up time, Are you using example OTAA_OLED?

OstertagM commented 4 years ago

Yes I used this.

DestinyFxxker commented 4 years ago

I have a suggestion, have you tried to test the CLASS C scene, because in C mode, the node will not enter sleep mode and keep the RX2 window open, which will ensure that the downstream frame will be used during the effective time of the node. Whether the node has a defect on the hardware.

OstertagM commented 4 years ago

Yeah, try and error game? I want to build up as fast as possible an low power node. At first with oled for low power without. But heaving same code base. Best I go with ADB and lmic perhaps. @solotaker or do you have an good ready working code to post?

DestinyFxxker commented 4 years ago

Hi: I am wondering why your LoRa_32 can't successfully enter the network? My LORA_32 868 frequency has been working on TTN for a long time. I am using the example "OTAA_OLED". image The difference from your expectations is that I have enabled OLEDs.

OstertagM commented 4 years ago

I work's for about 20 joins during testing. Suddenly not. I have the new TTN Gateway. I have decided that OTAA is something if you you know you will get the downlink each time during the join process. I also have decided to go with lmic because that has worked with ADB at once. Also seasons saving is working here good. Because in case of deep sleep a new join is consumed a lot of to much power. And with lmic I can receive downlink I tested it with my own data.

DeveloppeurPascal commented 4 years ago

Hi Mathias, I have a problem with OTAA too (and I suppose there is a conflict with SD Card libraries, I’ll confirm it after some tests). Can you tell me what lmic library you choosed ? There is a lot on there.

Le 18 sept. 2019 à 13:22, Matthias notifications@github.com a écrit :

I work's for about 20 joins during testing. Suddenly not. I have the new TTN Gateway. I have decided that OTAA is something if you you know you will get the downlink each time during the join process. I also have decided to go with lmic because that has worked with ADB at once. Also seasons saving is working here good. Because in case of deep sleep a new join is consumed a lot of to much power. And with lmic I can receive downlink I tested it with my own data.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/HelTecAutomation/ESP32_LoRaWAN/issues/12?email_source=notifications&email_token=AHATNU2DQRJLH4DLMCSPG5DQKIFQJA5CNFSM4ISGMCMKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67XILI#issuecomment-532640813, or mute the thread https://github.com/notifications/unsubscribe-auth/AHATNU4OAUAZCPZILAL3UPDQKIFQJANCNFSM4ISGMCMA.

OstertagM commented 4 years ago

Hi Pascal. I use https://github.com/mcci-catena/arduino-lmic and in abp mode. You can also read this topic https://www.thethingsnetwork.org/forum/t/big-esp32-sx127x-topic-part-3/18436/247. Hopefully from your response

DeveloppeurPascal commented 4 years ago

Thanks. The MCCI LMIC library works for me on Orange Business Services LoRaWan network in France.