Skip to content
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

Add AS923 frequency plan to LoRaMac.c #24

Open
s0301132 opened this issue Dec 5, 2019 · 8 comments
Open

Add AS923 frequency plan to LoRaMac.c #24

s0301132 opened this issue Dec 5, 2019 · 8 comments

Comments

@s0301132
Copy link

s0301132 commented Dec 5, 2019

Hi @Heltec-Aaron-Lee @solotaker @gibus27 !

I have some issue when I set the ESP32 V2 to TTN network, my region use AS2 frequency plan (AS923-925), so when I config the Commissioning.h file I can't choose the suitable frequency plan. Is it possible to add a frequency plan to LoRaMac.c file to add a new frequency plan? Thanks!

I find a RegionAS923 config files from repositories LoRaMac-node see if it can help:
https://github.com/Lora-net/LoRaMac-node/blob/develop/src/mac/region/RegionAS923.h
https://github.com/Lora-net/LoRaMac-node/blob/develop/src/mac/region/RegionAS923.c

Thanks a lot!

@Heltec-Aaron-Lee
Copy link
Contributor

OK, please give us a few days.

@s0301132
Copy link
Author

s0301132 commented Dec 6, 2019

@Heltec-Aaron-Lee

OK Thanks a lot !

@shmrymbd
Copy link

me also need your help of AS923 (AS1). Thanks

@Heltec-Aaron-Lee
Copy link
Contributor

Hi, there, I did a big update in the last few days, and it's already have full region support. Please try the newest library.

image

@s0301132
Copy link
Author

Hi @Heltec-Aaron-Lee !
Thanks a lot! I reinstall the development board environment and this library and now I can join the network successfully!

However, there are some new problems:

  1. The node can only send data once and stuck on sending process

Screenshot 2020-02-15 at 6 29 55 PM

Screenshot 2020-02-15 at 6 32 21 PM

I'm using us915 bandwidth and ttn network with my esp32 lora node and HT-M01 LoRa Gateway

@s0301132
Copy link
Author

Hi @Heltec-Aaron-Lee
Also will you guys update the HT-M01 gateway library with full region support so I can use both as932 frequency on both esp32 board and gateway. Thanks !

@s0301132
Copy link
Author

Hi @Heltec-Aaron-Lee
I fix the problem when I switch to EU868 frequency plan, I think the problem is TTN use sub band 2 in US 915 but esp32 node use sub band 1 in US915, so the message downlink may have some error, how can I change the sub band in esp32 just like cubecell ?

@Heltec-Aaron-Lee
Copy link
Contributor

@s0301132 Hi, I had updated the code last few days many times, please use the "git pull" update again.

About the sub-band usage, please refer to this document, maybe it makes sense to you.
https://heltec-automation-docs.readthedocs.io/en/latest/general/sub_band_usage.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants