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

Preamble issue #20

Closed
fxsh1301 opened this issue May 11, 2017 · 4 comments
Closed

Preamble issue #20

fxsh1301 opened this issue May 11, 2017 · 4 comments
Labels

Comments

@fxsh1301
Copy link

fxsh1301 commented May 11, 2017

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.

@sandeepmistry
Copy link
Owner

Does the parameter of preamble need to set in both of gateway and nodes?

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.

What I know about Lora is using the way like TDMA to avoid the collision.

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.

@fxsh1301
Copy link
Author

fxsh1301 commented May 15, 2017 via email

@sandeepmistry
Copy link
Owner

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

@fxsh1301
Copy link
Author

fxsh1301 commented May 17, 2017 via email

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

No branches or pull requests

2 participants