Git Product home page Git Product logo

Comments (8)

tapparelj avatar tapparelj commented on August 9, 2024

Hello @fufellen,
The Sync words can be set in the modulate block for the transmitter and Frame sync block for the receiver. They can be given as either a decimal value, a hex of directly the value of the sync words symbols (e.g 18, 0x12 or [8,16]). The sync words do not have a length parameter as they always consists in two modulated chirps in the preamble. Some devices use 2 bytes to set the sync words, I however don't have any at hand to test, but from what I've seen the relationship should be: for sync word 0xabcd : [x,y] = [a<<(b-1), c<<(d-1)] . I'm however not sure what is happens if b or d are equal to 0.
The preamble length can be set in the same two blocks.
Let me know if something is confusing, or if you have the chance to verify this relashonship if your device uses the 2 bytes sync word format.

from gr-lora_sdr.

fufellen avatar fufellen commented on August 9, 2024

i can't find a setting to set preamble length,
maybe it is implicitly included in one of the block parameters?

can't accept package on sf 5 and sf 6
on some generations there is no backward compatibility for these factors
Can your project support different generations?
i use analog
sx 1262

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 9, 2024

Hello,
the preamble length option was added in version v0.5.3. If you use an older version it is normal that you can't find this option. If you pull the new version, be sure to run make uninstall andmake clean before make install.
I'm not aware of the exact differences introduced for the sx1261/2 and don't have one under the hand to test. The sf5 and 6 were tested with the SX1276.
Thanks for bringing that up, I'll add this information on the ReadMe

from gr-lora_sdr.

fufellen avatar fufellen commented on August 9, 2024

image

Thanks for the project, it receives data on my sf7.
However, I have a question: it looks like you have the beginning of the preamble going to the end for sf6. Is this my mistake, or is the project not working correctly?
I'm trying to change the length of the preamble through the python code, but the length of the packet does not change, is it possible to do this in your project?

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 9, 2024

Hello @fufellen,
you should be able to change the preamble length. For me there is no issue with SF 6 (cf. fig).
Did you try to use the explicit header mode? Because it wasn't supported by previous generation of LoRa devices, therefore it isn't implemented in this repo yet.
image

from gr-lora_sdr.

nkaramolegos avatar nkaramolegos commented on August 9, 2024

Hello, can you @tapparelj and @fufellen please inform me how you create this beautiful captures' plots?

Also, I want to receive data from a device and I don't have information for the sync word how can I proceed? As I far I know the TX and RX should have the same sync word

from gr-lora_sdr.

tapparelj avatar tapparelj commented on August 9, 2024

Hi,
On my side I just saved the output of the modulate block with a filesink and then opened it with matlab and plot the instantaneous frequency with something like plot(diff(unwrap(angle(tx_samples))))
For finding the network identifiers without having access to the transmitter configuration, you can print the values bin_idx that are checked as network ID at lines 581 and 593 of lib/frame_sync.cc. (I can't run any code now so maybe you need to investigate a bit by yourself)

from gr-lora_sdr.

fufellen avatar fufellen commented on August 9, 2024

Hello, can you @tapparelj and @fufellen please inform me how you create this beautiful captures' plots?

I was using something like (or maybe it) Adobe Audition. There is a spectrum view of .wav files.

from gr-lora_sdr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.