Comments (10)
LoRa has 2 modes: explicit header (payload size in bytes, coding rate and header CRC(?)) and implicit (nothing before the payload). The whitening sequences for them are different, and only the last one is implemented in this project right know.
The receiver working in the explicit mode is implemented in the rpp0 project, but that sequence can't be used in this project for weird reasons (see Issue #13 for details)
from gr-lora.
Thanks @RyabchikSib for your help,
those 2 modes sounds a bit confusing, I think I need to do some research...
My plan is to use my Arduino and gr-lora to capture and modify the messages.
Does anyone have some experiences with gr-lora and Arduino?
from gr-lora.
Hi @nickes,
I've used the Adafruit LoRa modules throughout the course of development. They're pretty nifty.
Demodulation will work regardless of the selected header mode -- the symbols will be correct, though the decoded values may not be. If the demodulator is configured correctly and you're seeing nothing then there may be something else afoot. I downloaded your sketch; if you can send an IQ file and its parameters I'll try to replicate on my end.
Best,
Matt
from gr-lora.
hey @matt-knight,
thank you for reply. I have to correct my issue:
At the moment I receive (some) messages, when the frequency of my dragino hat is set to 868.2 MHz
. The problem is, that the received messages are strangely modified.
I'm preparing you a IQ file and more informationen as soon as possible.
Are you using the Arduino IDE with the LMIC library to program your Adafruit LoRa module?
BTW, I want to prepare a demo in which I'm using sdr (with my HackRF) to intercept encrypted LoRa messages. Afterwards I try to extract some important information from those messages to send corrupted ones (also through sdr). I hope this is somehow possible.
from gr-lora.
Sorry for the late reply. I finally recorded the signal.
The parameters are:
Frequency: 868.2MHz
Bandwitdh: 125K
Code Rate / Parity Bits: 4/8
Spreading factor: 8
Implicit HDR: on
CRC: off
Message: "101010" or 31 30 31 30 31 30
Interval: 3 sec
The signal [1] was recorded with the rotator and resampler, so it can be directly connected to the demodulator. The received signal is "31 30 31 10 34 38 e4".
[1] https://1drv.ms/u/s!AnXjohrguxaRxE4_F_-HM97I7Q2Y
from gr-lora.
Hey @nickes,
I know that it has been a long time since you've worked on that project, but I'm in the same position as you were in July. I'd like to make it work (I have a SX1272 + HackRF One trying to catch the former's Lora messages).
I only managed to get @matt-knight 's gr-lora work for a SF8 BW250 CR8 CROFF HEADER OFF configuration. The other configurations do not work. And with rpp0's gr-lora, I manage to catch some caracters, but meaningless regarding to what I send...
I'm quite desperate... Did you got something useful to help me please ?
Thanks in advance...
PS : Sorry for my english if there are some mistakes...
from gr-lora.
Hey @ThGeoffrey ,
as far as I can remember, I tried to tune the receiver and the transmitter to display the correct messages. At the end it was more like a trail and error, than something professional.
I didn't manage to send something useful with SDR, but I could display some of my messages.
Here is what I suggest:
Try different frequencies. I remember that it was possible to receive messages with @matt-knight 's gr-lora when using 868.1 MHz on GNU Radio and 868.2 MHz on the LoRa device. rpp0's gr-lora worked with 868.2 MHz on GNU Radio. Your configuration (SF8 BW250 CR8 CROFF HEADER OFF) for gr-lora looks good.
Did you configure your SX1272 correctly?
from gr-lora.
Hey @nickes !
Thanks for your answer ! I manage to have something with your help (I did not realize that I had to move a little bit the center frequency on the flowgraph in order to properly decode the message).
Now, I have some results with both of the gr-LoRa versions :
I'm sending the char "DEADBEEF" (44 45 41 44 42 45 45 46 in hex) and the picture shows what I receive with my hackRF One.
Configuration : CH13 (866.1MHz), CR4/8, BW125, HOFF, CRCOFF
I guess I still have to work on the whitening sequence or the synchronization (I do not really know what the problem is : why I can decode the message for certain SF and not for all...).
But thanks for your help !
from gr-lora.
Hey, sounds good.
I did exactly the same table-thing with the different spreading factors
When I played with the explicit header mode, I realised, that rpp0's gr-lora was quite stable with Header mode on (independent of the spreading factor).
Another advice: Don't forget that you can also play with the distance of the receiver and your transmitter. Somehow I received different messages, depending on the distance and the antenna I used.
Good luck!
from gr-lora.
Hey everyone
Can anyone explain how this issue was fixed? I am facing the same exact problem and the message shows up on the FFT window however no data goes through the demod (I am using the example rx_usrp). I am using 921 MHz for my LoRa shield frequency (Tx) and 920 (MHz) for the RTL-SDR Source in gnuradio. I kept playing with the offset value in the slider but it hasn't been very generous either.
Thank you in advance
from gr-lora.
Related Issues (20)
- gr-lora decode faild HOT 2
- about the gray coding HOT 1
- tr_usrp.grc not transmitting via usrp HOT 8
- B200 HOT 1
- SX1272 - SF6, Implicit header, CR4/5, LDR enabled HOT 1
- Receive incorrect data on Pycom LoPy LoRa
- low data rate opt set to 0 will not work
- Error in the modulator block
- Error on tx_usrp example
- Dragino setup > no documentation
- UDP stream
- Can this code run in 2.4GHz? HOT 1
- Import LoRa Error
- Ettus E313 SDR module' object has no attribute βdemod' HOT 1
- Decode data from RN2483 HOT 2
- Issue with Decoding!! HOT 7
- Deinterleaved codewords incorrect order
- Port gr-lora from GR3.7 to GR3.8
- the ralationship between spread factor and header?
- Can the decoded data packet be sent to the network server intact HOT 1
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.