-
-
Notifications
You must be signed in to change notification settings - Fork 620
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
Preamble issue #20
Comments
You can set the preamble length on both the send and received using: https://github.com/sandeepmistry/arduino-LoRa/blob/master/API.md#preamble-length There is no example of this currently.
LoRa doesn't have anything like this, LoRaWAN does include something like this. If you're using pure LoRa you'll have to build something yourself to avoid the collisions. |
I think i Confused the LoRa and LoRaWAN, thanks for explanation!
Forgive my rudeness, I'm trying to use Raspeberry Pi to be the gateway, but
I can't find any library for Pi using C. Is there any information about it
or possible transform arduino-Lora to C code and running on Raspberry ?
Thanks a lot.
Best regards.
|
Hey @fxsh1301, I haven't used anything in C. However, if you don't mind Node.js/JavaScript you mind find this interesting: https://github.com/sandeepmistry/node-sx127x |
Thanks for sharing!
But when I wired the module with Raspberry.
The SPI test result showed it didn't work! Even I enabled it.
[image: 內置圖片 1]
The test code is from here
<https://www.raspberrypi.org/documentation/hardware/raspberrypi/spi/README.md#troubleshooting>.
The result showed that is not enable SPI or error wiring.
Did you have the same problem ?
The OS is jessie with firmware update.Raspberry Pi3
[image: 內置圖片 2]
Thanks. Best regards.
2017-05-16 7:59 GMT+08:00 Sandeep Mistry <notifications@github.com>:
… Hey @fxsh1301 <https://github.com/fxsh1301>,
I haven't used anything in C. However, if you don't mind
Node.js/JavaScript you mind find this interesting: https://github.com/
sandeepmistry/node-sx127x
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AX0V3jjiAfbg0VTmFBoABwdIEIpDu3Xtks5r6Ob1gaJpZM4NYCt0>
.
|
I'm trying to use one of 1276 module be a gateway and collect data from other nodes.
The example work greatly so far.
What I know about Lora is using the way like TDMA to avoid the collision.
Distribute the time and polling all nodes by gateway to get the data.
The nodes will sleep and wake up periodically and listen the preamble to judge if should reply or not.
Does the parameter of preamble need to set in both of gateway and nodes?
Is there any example? Thanks.
The text was updated successfully, but these errors were encountered: