LoPy4 change uplink channels by itself?
-
hello @robert-hh I have uploaded firmware from https://github.com/robert-hh/Shared-Stuff.git and then uploaded script that I posted previously. but my lopy4 still can't join AS923-2 (921.4MHz & 921.6MHz ).
-
@Gusti-Made-Arya-Wijaya Don't you have to call prepare_channels before lora.join()? And do you have a gateway in reach?
-
@robert-hh hello, sorry for super late reply, I have tried it, but still can't join using gateway with AS923-2 freq plan, If I replace the gateway with AS923-1 freq plan, my Lopy4 can join. So the freq play from lopy4 is not change
-
@Gusti-Made-Arya-Wijaya @robert-hh Hello Robert, Should I modify region.c file in ...../pycom-micropython-sigfox/lib/lora/mac/region then re-compile the firmware? or can use this firmware https://github.com/robert-hh/Shared-Stuff.git ?
-
@Gusti-Made-Arya-Wijaya Didn't you try already the firmware from
Shared Stuffand it did not work? In that case, you have to change the source files and build your own firmware. -
@Gusti-Made-Arya-Wijaya There was this bug that
ora.remove_channel(i)did not work for the CN470 region. I made a PR in Aug 2020 to fix that, but I cannot tell whether that was implemented. I do not see it in theRelease/v1.20branch, which seems to be the most recent one, with the most recent change on Dec 6, 20121. The repository management of Pycom is byblack box. With many branches of unclear usage. -
@robert-hh yes, I have tried it and tested my code like on previous page. Is there any guidance to build custom firmware?
-
@Gusti-Made-Arya-Wijaya There is in the README.MD of the pycom-micropython-sigfox directory, and in the ESP32 port directory. It's tricky to set up the build environment. It has to be a Linux OS.
-
@robert-hh yes, the bug in lora.remove_channel(i) is not fixed yet, I think lora.remove_channel(i) is not work in all regions. Need help to fix it, because in Indonesia using AS923-2
-
@Gusti-Made-Arya-Wijaya I added a 1.20.2.r6 version for LoPy4 with the cn470 channel remove fixed to
Shared stuff. Maybe that one works. -
@robert-hh Okay thanks, I will try this firmware, and test lora.remove_channel(i), then add channel AS923-2 freqs (921.4MHz & 921.6MHz ).
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login