Code Monkey home page Code Monkey logo

Comments (6)

tapparelj avatar tapparelj commented on June 2, 2024

Hi,

The version 3.7 was tested using both link directions with a LoRa chip RFM95W (https://cdn.sparkfun.com/assets/learn_tutorials/8/0/4/RFM95_96_97_98W.pdf). If nothing gets detected I would investigate the configuration of the network identifiers as their default values might not match with ours, which are value 8 and 16. For the receiver you can set them in lib/frame_sync_impl.cc( in the constructor). For the transmitter you can change them in lib/modulate_impl.cc (in general_work()).

What are you meaning by conjugate downlink?

Let me know if your network identifiers are the same and if it doesn't solve your issue can you attach a picture of the GNU Radio flowgraphs you have modified.

from gr-lora_sdr.

FlUxIuS avatar FlUxIuS commented on June 2, 2024

Hi @tapparelj,

So the flowgraph has been modifying as follows to match EU frequency plan:
grlorasdr_TX

I could make the TX work with gr-lora from @rpp0 by doing a very basic flowgraph on the RX side and with a 250 kHz samp rate on the RX side:
grlorasdr_to_grlorarpp0

But it seems to get desync after some packets. I'll try with two different computers because I generally manage to use gr-lora with multiple freqs and SF using a 2 MHz bandwidth and few optimizations

Using the TX flowgraph, I don't see anything on the SX1301 and SX1257 of the Dragino LG308.

About the RX, the flowgraph is kind of the same as one of your apps like the TX one:
grlorasdr_RX

But doesn't see the signal sent by the Microchip RN2483, neither the Dragino LoRa Shield.

Here is a sample of the Microchip RN2483 with some dumb 0x45 bytes:
https://drive.google.com/file/d/1PHUJ4WSvJh8ysPSzhUYuXgj7IBr6vdnG/view?usp=sharing

from gr-lora_sdr.

tapparelj avatar tapparelj commented on June 2, 2024

Hi,
I just tested the samples you sent and found out that the sync words of the Microchip RN2483 are 24 and 32. By editing them in the previously mentioned locations, the frames are correctly detected .
image

If you don't know what they are from the chip datasheets, you can easily find their values by adding the "cout" line after the case NET_ID1 (in lib/frame_sync_impl.cc ~line 400):

switch (symbol_cnt) {
    case NET_ID1:{
        std::cout<<"net id 1 = "<<bin_idx<<std::endl;

Then modifying the value net_id_1 accordingly, compiling and adding the same line in the case NET_ID2.

from gr-lora_sdr.

martynvdijke avatar martynvdijke commented on June 2, 2024

Hi,

I am not sure how, but I completely missed this issue and PR, sorry for that.
Is the issue now fixed ?

from gr-lora_sdr.

FlUxIuS avatar FlUxIuS commented on June 2, 2024

Thanks @tapparelj! I'll try that at least next week :)

Do you have also an idea of the problem for the TX part, to be seen on the Dragino GW. I was looking with a LG308 at the time.

Thanks in advance!

from gr-lora_sdr.

stale avatar stale commented on June 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from gr-lora_sdr.

Related Issues (8)

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.