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
gr-lora does not receive the messages #15
Comments
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) |
Thanks @RyabchikSib for your help, |
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, |
hey @matt-knight, 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. |
Sorry for the late reply. I finally recorded the signal. Frequency: 868.2MHz 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". |
Hey @nickes, 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... 💃 |
Hey @ThGeoffrey , Did you configure your SX1272 correctly? |
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 ! |
Hey, sounds good. |
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 |
I'm working with an HackRF One and a Dragino LoRA shield (v1.4, this one) + Arduino Uno. I also using the LMIC library with the example sketch (Arduino sketch).
The setup is:
Frequency: 686MHz
Spreading factor: 8 (Can be set from 7 to 12)
BW: 125K
The sketch sends a message ("Hello, world") every 5 seconds.
I tried several configurations of the rx_ursp sketch (I attached the modified file), but I can not receive any message.
I tried to receive the same message with gr-lora/rpp0 and it worked(also attached).
I'm not sure what I am doing wrong but I really would like to use this lora package to receive AND send lora packets.
Does somebody has the same experience or any clue, what the reason could be?
Both files are here
The text was updated successfully, but these errors were encountered: