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

How to configure for use with SX1262 Semtech Shield #23

Closed
NicoPowers opened this issue Apr 4, 2022 · 7 comments
Closed

How to configure for use with SX1262 Semtech Shield #23

NicoPowers opened this issue Apr 4, 2022 · 7 comments
Labels
question Further information is requested stale

Comments

@NicoPowers
Copy link

Hello,

I am trying to use this package for the SX1261/1262 with the Pico, but I am having a hard time trying to figure out how to get it to compile safely for the SX1262 instead of the SX1276; is this documented anywhere? If not, would this be possible to implement?

Thank you

@sandeepmistry
Copy link
Member

Hi @NicoPowers,

This library currently does not support the SX1276, however pull request #15 is open to add support for it.

@sandeepmistry sandeepmistry added the question Further information is requested label Apr 4, 2022
@BNNorman
Copy link

waveshare have a variant which supports sx1262 try here:-

https://www.waveshare.com/wiki/Pico-LoRa-SX1262

BUT, I have not gotten it to use my keys and have opened a support ticket. The hardware transmits ok - I can see it in my gateway but it isn't using the keys I put in the config.h for the otaa_temperature_led example.

@stale
Copy link

stale bot commented Jul 21, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jul 21, 2022
@BNNorman
Copy link

Remiss of me not to post that I fixed it. The problem was with the compilation of "sscanf" which wasn't scanning the keys properly (at all). I replace the sscanf with my own code and that fixed it. I reported the issue to Waveshare but don't know if they made changes to their code. In fact the demo code link on their wiki appears broken, If anyone want to know my fix let me know and I'll post it.

@stale stale bot removed the stale label Jul 21, 2022
@gomond
Copy link

gomond commented Jul 21, 2022

Thanks BNNorman
That would be helpful ..

@BNNorman
Copy link

I posted my working code here.
There were two problems: The original code didn't allow spi1 to be used. I fixed that and Sandeep Mistry has now amended his code.
Second the pico compilation of sscanf didn't work as expected - I checked that with a really simple program and it failed so I wrote a replacement (simple) key scanner. It's all documented in the following

https://github.com/BNNorman/Waveshare-Pico-LoRa-SX1262-868M

@stale
Copy link

stale bot commented Sep 19, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 19, 2022
@stale stale bot closed this as completed Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested stale
Projects
None yet
Development

No branches or pull requests

4 participants