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.
335 stars 108 forks source link

Problem with join to TTN US915 #28

Open lyakh-m opened 4 years ago

lyakh-m commented 4 years ago

Hello! I use WiFi LoRa 32 (V2). I modified the OTAA_OLED example for the US 915 range (Comissioning.h: LORAWAN_DEVICE_EUI, LORAWAN_APPLICATION_EUI, LORAWAN_APPLICATION_KEY; LoRaMac-definitions.h: USE_BAND_915; and scetch for correct LICENSE). However, I see only periodic registration (activation request) in the TTN network, and I do not observe data (Payload and answer) transmission at all. What could be the problem? I see requests going through the router like: {"rxpk": [ { "tmst":443640556, "chan":3, "rfch":0, "freq":904.500000, "stat":1, "modu":"LORA", "datr":"SF10BW125", "codr":"4/5", "lsnr":-6.8, "rssi":-95, "size":12, "data":"QJokAiaA6UW/fzxl"} ]}

{"txpk": {"imme":false, "tmst":444640556, "freq":925.1, "rfch":0, "powe":20, "modu":"LORA", "datr":"SF10BW500", "codr":"4/5", "ipol":true, "size":22, "ncrc":true, "data":"YJokAiaKfgADQAIAcQMFAP8BDe/yFQ=="} }

TTN Router

UPD 12/31/2019. I also tried using the "CubeCell Board" and it works fine. Is it possible to remake the library for "WiFi LoRa 32 (V2)" so that it looks like a library for the "CubeCell Board"? Because the library for the "CubeCell Board" has the ability to configure from the menu, which greatly reduces the possibility of errors when working with it. I tried to figure out the code and structure it similarly to the library for the "CubeCell Board", but it turned out to be unexpectedly difficult for me. @Heltec-Aaron-Lee

onexecute commented 4 years ago

I'm having a similar issue while working with ChirpStack RAK gateway and I use WiFi LoRa 32 (V2).

13:31:30904.1-116-11-CRC_ERRLORA4/5SF7BW125------13:31:22904.7-119-11.3-CRC_ERRLORAOFFSF7BW125------13:29:48903.9-119-12.3-CRC_ERRLORAOFFSF7BW125------13:29:02904.9-117-11.5-CRC_ERRLORAOFFSF7BW125------13:28:48904.5-118-11.5-CRC_ERRLORA4/7SF7BW125------{ "freq": 904500000, "chan": 3, "tmst": 4020452387, "utmms": 1577730527072, "rfch": 0, "stat": -1, "rssi": -118, "size": 104, "modu": "LORA", "datr": "SF7BW125", "codr": "4/7", "lsnr": -11.5, "data": "GmyffRKdI2s2TCr9iWW1i+PcvQJRd7bnbXG2nBNdILtF/Lm7z1xdz187CK3egjO5W8WUQ2P6q+r8/jk0dTAE1r4NCl+cx97Oldjr/5aCo0o+dAAA6P5pwmCUtQxTo9k+yKhux03YrVE=" }

andrelmbraga commented 4 years ago

Similar problem here. I can't see the upload on my application with 915 version.

onexecute commented 4 years ago

I'm using the RAK 7258 and had to change the Frequency Sub-Band see http://community.heltec.cn/t/solved-wifi-lora-32-v2-ttn-joining-trouble/670 Now the joins are sent and received by the ChirpStack server. ChirpStack sends a JoinAccept, the RAK transmits but the device doesn't seem to acknowledge it.

Heltec-Aaron-Lee commented 4 years ago

Maybe this topic helps you: http://community.heltec.cn/t/solved-wifi-lora-32-v2-ttn-joining-trouble/670?u=hunter8801

Heltec-Aaron-Lee commented 4 years ago

I had just made a big update for this library, please try the newest library.

BTW. image

lyakh-m commented 4 years ago

Thanks a lot!!!

Sincerely Mikhail Liakhovets

On Mon, Feb 10, 2020 at 6:30 AM Aaron.Lee notifications@github.com wrote:

I had just made a big update for this library, please try the newest library.

BTW. [image: image] https://user-images.githubusercontent.com/32860565/74146294-c4fe4100-4c3b-11ea-9d80-9dab834dc296.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/HelTecAutomation/ESP32_LoRaWAN/issues/28?email_source=notifications&email_token=ABQBVDFZIX6M7GA4NPZUU7LRCE3FBA5CNFSM4KBF3ZDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELIFRAQ#issuecomment-584079490, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQBVDH4D24JLDEIMUZ76XDRCE3FBANCNFSM4KBF3ZDA .