Commit Graph

483 Commits

Author SHA1 Message Date
Manolis Surligas 303b26db62 Remove obsolete cmake macros 2019-12-09 19:19:28 +02:00
Manolis Surligas 073df24112 Convert all blocks from XML to YAML 2019-12-04 19:42:01 +02:00
Manolis Surligas cd5dfc69c9 Updated library and Swig files to GNU Radio 3.8 2019-12-02 21:53:26 +02:00
Manolis Surligas 747195f054 Make the non-scrambled AX.25 decoder more conservative
In case of scrambling the self synchronizing scrambler ensures
that enough repetitions of the AX.25 flag have been received.
However, this does not hold for the case of non scrambled
transmissions. In this case, we wait for at least two consecutive
AX.25 flags to reduce the false alarms. Experiments have shown
that due to the poor CRC there were many false positive frames.

It is expected however, to miss some transmissions that use only one
AX.25 flag.
2019-10-03 16:54:37 +03:00
Manolis Surligas 040763af11 Fix issue with the PMT messages and their format 2019-09-30 20:17:08 +03:00
Manolis Surligas 860395a997 Remove obsolete flowgraphs
Update the obsolete flowgraphs and update the existing with
the new decoding architecture blocks. Client should
not have big problems with the new decoders as we utilizing
the multiformat frame sink that takes care of it. This
is just a work around for testing as we move forward for
fully socket-based communication with the client
2019-09-30 19:32:21 +03:00
Manolis Surligas 2cc9184fbc Support both legacy and new PMT messages at the file sink
To allow easier integration to the new architecture the
multi format file sink supports bot legacy and the new
format of the PMT messages. In poth cases, only the PDU
is extracted. Legacy used the PDU as a BLOB, whereas
now the PDU is stored in base64 format inside a
dictionary, which structure is defined through
the gr::satnogs::metadata() class
2019-09-30 19:32:21 +03:00
Manolis Surligas 7a95b44475 Fix FSM at the IEEE 802.15.4 decoder 2019-09-30 19:32:21 +03:00
Manolis Surligas 2019718b3f Support frame tagging on the IEEE 802.15.4 decoder 2019-09-30 19:32:21 +03:00
Manolis Surligas ab442833c2 Instruct Astyle to wrap code at 80 chars 2019-09-30 19:32:21 +03:00
Manolis Surligas 729d97c73c Add support for AX.25 frame tagging on the IQ stream 2019-09-30 19:32:21 +03:00
Manolis Surligas ab45da4ad3 Implement a decoder covering COMMS from GOMSpace 2019-09-30 19:32:21 +03:00
Manolis Surligas c40b83211f Add a IEEE 802.15.4 compatible decoder
Add a IEEE 802.15.4 like decoder, which supports
the IEEE 802.15.4 standard but also a large variety
of ICs based on this framing scheme. Such framings
are quite common in many Cubesat missions.

The decoder has been tested an works well with at least
the Reaktor Hello World satellite
2019-09-30 19:32:21 +03:00
Manolis Surligas 142c995370 Add astyle pre-commit hook and update readme with coding style info 2019-09-30 19:32:21 +03:00
Manolis Surligas 90eb400763 Fix Debian issue with astyle options 2019-09-30 19:32:21 +03:00
Manolis Surligas e09c180f84 Format all C++ files using the astyle beautifier 2019-09-30 19:32:21 +03:00
Manolis Surligas a5caed2ca9 Add astyle configuration for code formating 2019-09-30 19:32:21 +03:00
Manolis Surligas 7b7fb82adc Continue with the transition to the new decoder API
* Removed obsolete blocks
* Created a new CRC class with static methods. This will make easier the
integration of new CRC schemes. The old way was rather too C-styled
2019-09-30 19:32:21 +03:00
Manolis Surligas 17f91dbb27 Add developers information on README 2019-09-30 19:32:21 +03:00
Manolis Surligas 14382ddc4f Remove obsolete blocks
* Blocks removed are now covered from decoders available supporting the
new decoder architecture
* The quadrature demodulation filter block, had as primary goal to
reduce the false alarms and the performance of the DUV decoder. Now the
new DUV decoder, uses a shift register approach, likewise the AX.25
decoder, therefore it is not needed anymore.
2019-09-30 19:32:21 +03:00
Manolis Surligas c9f685d1c1 Use the shift register approach for the DUV decoder 2019-09-30 19:32:21 +03:00
Manolis Surligas c5f376929c Convert AMSAT FOX DUV decoder to the new architecture
TODO:
* Use the shift register likewise the AX.25 to get rid off the
quadrature demodulation filter. This will significantly increase the
number of decoded frames
2019-09-30 19:32:21 +03:00
Manolis Surligas 110ab30d26 Add JSON converter block for the decoders
The decoders produce a PMT message containing several information about
the decoded frame. While this is very convenient for handling data
inside the flowgraph, it is not for third party applications. The JSON
converter block is responsible to serialize all the information
contained in a PMT originating from a decoded frame.

For simple demonstration some metadata were added on the AX.25 decoder.
These metadata are still a WIP and they subjected to changes.
2019-09-30 19:32:21 +03:00
Manolis Surligas 19c68f825d Port AX.25 decoder to the new architecture 2019-09-30 19:32:21 +03:00
Manolis Surligas ad590174e0 Implement the generic decoder API
To simplify the logic and allow an easy and more efficient way to add
new decoders, the new architecture uses only one decoder block.

This block takes as input a void* stream and produces PDUs with their
metadata. To do so, the block accepts a decoder object. Every decoder
should implement the virtual class decoder(). This class provides the
necessary API and an arbitrary number of decoders can be supported. The
decoding status is reported to the frame_decoder block through the
decoder_status_t structure.
2019-09-30 19:32:21 +03:00
Manolis Surligas 9fe6b6f274 Improvements on the overall structure of the project
* Improve performance of the Golay decoder
* Modernize some CMake modules of GNU Radio
* Re-introduce the CPPUnit automated tests
2019-09-30 19:32:21 +03:00
Vasilis Tsiligiannis 8625475fd9 gitlab-ci: Keep image version in variable
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 558b59123f debian: Do not include volatile lines in patch
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 2edceafaa5 Workaround GitLab CI bug when using 'git describe'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 35c50bce83 debian: Pass Git count and hash to CMake
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 3780102025 gitlab-ci: Fix typo in variable use
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 704d9a5e6d Deploy only 'master' and tagged releases
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 82d37731c0 Do not remove Git maintainer version on untagged versions
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis bd2807f8a1 Remove compiled Python scripts before packaging
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 97421ae37e Move shared library into a separate package
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis b5a70703d9 Use 'buster' image
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 9490bafcbd Upload artifacts to OBS
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 14848b6b5d gitlab-ci: Use packaging job for testing building
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis a01cabace7 debian: Reset version changelog
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 82d9096dfd gitlab-ci: Add job for submitting Debain source files to Open Build Service
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 7ba2702674 gitlab-ci: Fix build stage name, excplicity define stages
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 98c534dc5b Make image and pre-script configuration job specific
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis c67edb5072 Fix YAML indentation
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 951f6ebd07 Update maintainer, drop old changelog entries
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 336576e282 Use '' instead of the deprecated 'multiarch-support', bump standards version
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Vasilis Tsiligiannis 06bf36f22c Add Debian packaging
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 18:47:46 +03:00
Julien e3c81ea853 Update hw_settings.py to add support for USRP1 2019-09-30 18:47:46 +03:00
Manolis Surligas 571508b7c0 Fix resampling ratio 2019-09-30 18:47:46 +03:00
Manolis Surligas d160da424a Adapt FSK improvements for the Reaktor flowgraph 2019-09-30 18:47:46 +03:00
Manolis Surligas 98fc0e0e80 Fix Airspy gain setting 2019-09-30 18:47:46 +03:00