Code Monkey home page Code Monkey logo

flare's Introduction

Build Status

nRF905 demodulator/FLARM decoder

make                                            # compile everything
rtl_sdr -f 868.05m -s 1.6m -g 49.6 -p 49 - |    # tune to 868.05 MHz, set sample rate to 1.6 MHz, gain to 49.6 dB, and tuner error to 49 ppm
    ./nrf905_demod 29 |                         # demodulate nRF905 packets with 29 bytes per message
    ./flarm_decode 43.21 5.43 12                # decode FLARM packets for ground station located at latitude 43.21, longitude 5.43 and geoid height 12

References

flare's People

Contributors

creaktive avatar roeles avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flare's Issues

2017 protocol?

Hi,

Since April 1st the received data seems not correctly decrypted.
I think you are already aware of this, do you know of any effort to reverse engineer the new protocol/encryption scheme?

Thanks!

Fix JSON output of flarm_decode

http://jsonlint.com/
says about this snippet
{"addr":"DDA8B9","time":1490684311.182450,"rssi":-15.1,"channel":117,"lat":54.6552640,"lon":0.1440960,"dist":437095.05,"alt":2415,"vs":-300,"type":7,"stealth":0,"no_track":0,"ns":[3,-104,-37,-91],"ew":[-18,7,5,-89]} {"addr":"DDA8B9","time":1490684311.210040,"rssi":-17.8,"channel":118,"lat":54.6552640,"lon":0.1440960,"dist":437095.05,"alt":2415,"vs":-300,"type":7,"stealth":0,"no_track":0,"ns":[3,-104,-37,-91],"ew":[-18,7,5,-89]}
this:
Error: Parse error on line 16: ... [-18, 7, 5, -89]} { "addr": "DDA8B9", ----------------------^ Expecting 'EOF', '}', ',', ']', got '{'

Binary to signed-int conversion

Max ADC value 255 - 127 is 128 unsigned, which is actually -128 in a signed int_8.

// sliding_dft(raw_buffer[i] - 127, raw_buffer[i + 1] - 127);
sliding_dft(raw_buffer[i] ^ 0x80, raw_buffer[i + 1] ^ 0x80);

nrf905_decode output doesn't reproduce

Because the nrf905_decode binary uses gettime internally, its output does not reproduce.
I'm not sure what the best way is. Preferably, rtl_sdr would write out a format with timestamps inside, but that would require patching rtl_sdr.

Perhaps we can add some kind of 'debug' option to the nrf905_decode binary?
Right now, this is preventing me from unit-testing the binaries.

Connection to QGroundControl

I am not able to setup a connection between flare an QGroundControl (Ground Control Station).
Which port should I use for that connection ?

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.