Comments (8)
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.
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.
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.
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.
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.
from gr-lora_sdr.
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.
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.
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)
- Implementing encoder and decoder with smaller SF 2-6 HOT 9
- getting nothing terminal window after running setup HOT 18
- PREAMBLE, SYNC WORD and LDRO HOT 6
- HackRF CRC issues HOT 3
- Erroneous Decoding for LDRO Enabled Transmissions HOT 1
- Error `include could not find requested file:` HOT 1
- ModuleNotFoundError even after loading PYTHONPATH HOT 2
- Chirps not appearing in Waterfall HOT 8
- RE:getting nothing terminal window after running setup HOT 6
- GNU Radio3.8.3.1 HOT 3
- Error when increasing spreading factor. HOT 4
- Cannot use a file source to replace USRP source HOT 12
- USRP not working HOT 6
- canβt recv LLCC68 message HOT 2
- Difficulties decoding meshtastic HOT 5
- Performance of cyl_bessel_i() on a low-powered arm64 device HOT 4
- Trouble receiving real-time signals HOT 5
- how to get rssi HOT 1
- Can't decode a signal HOT 8
- InvalidSpec: The package "conda-forge/noarch::adwaita-icon-theme==41.0=ha770c72_1" is not available for the specified platform HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gr-lora_sdr.