mpous / helium-data-hotspot

12 stars 16 forks source link

Compatibility with SX1301 #7

Open mpous opened 2 years ago

mpous commented 2 years ago

Make the repository compatible with SX1301 LoRa concentrators such as RAK2245.

johnfrancisli commented 2 years ago

Would this be the reason why I am having this issue during deployment? image

rony-vargas commented 2 years ago

Working on the SX1301 compatibility @mpous ,

@johnfrancisli , I had this error before and what I did was to change the permissions of the file (chmod +x compileSX1301.sh) in your local repo, before doing the "balena push"

also beware of the Line Break endings in your IDE, I successfully compiled using LF instead of CRLF

mpous commented 2 years ago

test this new version @johnfrancisli @rony-vargas as it might be compatible with SX1301!

rony-vargas commented 2 years ago

test this new version @johnfrancisli @rony-vargas as it might be compatible with SX1301!

Ok, let me try this version @mpous thanks for the update

mpous commented 2 years ago

i didn't try it myself @rony-vargas as i don't have any sx1301 available. Try this VARIANT variable --> https://github.com/NebraLtd/hm-pyhelper/blob/f8b2d8ceb90cfcd1da658a73e3741cc6de2ff1ff/hm_pyhelper/hardware_definitions.py#L223

Looking fwd to get your feedback!

rony-vargas commented 2 years ago

It looks like it works without any mod from my side @mpous image

image

I will add a node and test further.