Wykres commitów

179 Commity (f2849050725209a66fe07f71f6203aaf9d74f5e3)

Autor SHA1 Wiadomość Data
Wosser1sProductions b7f885f621 Merge remote-tracking branch 'refs/remotes/rpp0/master' 2017-05-18 16:00:54 +02:00
Wosser1sProductions 30da0dedcd Merge deinterleave and comments
- Removed break in sliding_cross_correlate_upchirp due to inaccuracy in
    noisy signals
~ Fixed upperbound in max_frequency_gradient_idx
~ Rewrote deinterleave function, now rotates bits to correct position
    instead of extensive masking
+ Added comment for every function (needs review)
~ Solved nibble reverse after Hamming decode by switching the order or
    ORing of the decoded data in Hamming itself
+ Added DBGR method to save timings to a file, a result for our setup
    can be found in examples/lora-timings
+ Added Python script to transmit and receive random data live for
    testing
2017-05-18 15:56:25 +02:00
rpp0 4db5f52c85 Merge pull request #30 from Wosser1sProductions/dev-deint
Simplified deinterleave and comments
2017-05-18 15:45:00 +02:00
Wosser1sProductions 3ccc649901 Changed requests 2017-05-18 15:39:39 +02:00
Pieter Robyns 999142214a Merge branch 'dev-deint' of https://github.com/Wosser1sProductions/gr-lora into Wosser1sProductions-dev 2017-05-18 15:22:26 +02:00
Wosser1sProductions 75285fe944 Comments
+ Added comment for every function (needs review)
~ Solved nibble reverse after Hamming decode by switching the order or
ORing of the decoded data in Hamming itself
+ Added DBGR method to save timings to a file, a result for our setup
can be found in examples/lora-timings
+ Added Python script to transmit and receive random data live for
testing
2017-05-17 17:33:15 +02:00
Wosser1sProductions 7fc8ad5c65 Deinterleave rewrite
- Removed break in sliding_cross_correlate_upchirp due to inaccuracy in
noisy signals
~ Fixed upperbound in max_frequency_gradient_idx
~ Rewrote deinterleave function, now rotates bits to correct position
instead of extensive masking
2017-05-04 14:33:16 +02:00
Wosser1sProductions 3f595cdebf Update Travis image with rpp0 2017-05-02 12:09:34 +02:00
Wosser1sProductions 48139656d3 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2017-05-02 12:06:22 +02:00
Wosser1sProductions 439e563bea Merge remote-tracking branch 'refs/remotes/origin/dev' 2017-05-02 12:05:45 +02:00
Wosser1sProductions 8feac8b933 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2017-05-02 12:03:33 +02:00
Wosser1sProductions cdfa886b81 Merge remote-tracking branch 'refs/remotes/origin/dev' 2017-05-02 12:03:24 +02:00
Wosser1sProductions aea7a6b473 Merge remote-tracking branch 'refs/remotes/rpp0/master' into dev 2017-05-02 12:01:26 +02:00
Pieter Robyns 0142b4e984 Merge branch 'Wosser1sProductions-dev' 2017-05-02 11:28:44 +02:00
Wosser1sProductions 20c84c5ef1 Merge pull request #2 from Wosser1sProductions/dev-travis
Add Travis CI config
2017-05-01 01:11:06 +02:00
Wosser1sProductions 026286a05c Added Travis CI config
+ Added .yml config file for Travis CI
+ Added build:passed image to README
2017-05-01 00:46:41 +02:00
Wosser1sProductions 023b6c233a Small changes
~ Renamed some variables
+ Added break in
sliding_cross_correlate_upchirp if correlation
    percentage drops
+
Added DBGR macros to measure exucution time of functions
2017-04-27 18:33:07 +02:00
Wosser1sProductions 3e9e49d945 Everything is const
~ Changed prototypes to have const args where possible
~ Fixed missing multiplier in window size
2017-04-26 13:56:45 +02:00
Wosser1sProductions dc070f3cb9 Merge remote-tracking branch 'refs/remotes/rpp0/master' into dev 2017-04-21 14:46:34 +02:00
Pieter Robyns ee39370457 Merge branch 'Wosser1sProductions-master' 2017-04-21 14:04:37 +02:00
Wosser1sProductions d814ea01f3 Better Sliding Cross Correlation
+ Re-added sliding cross correlation, but now starts from the
index found by the falling edge detector, which enables
very fast cross correlation and yields much more
accurate results
~ Changed index_correction correlation percentage threshold
from 0.8 to 0.9 for accuracy improvements
2017-04-19 21:43:06 +02:00
Wosser1sProductions 8194dfaf46 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2017-04-19 21:41:56 +02:00
Wosser1sProductions 6f990ad01d Fixed missing ctor arg in lora_receiver
~ Added missing ctor arg threshold in lora_receiver.py
2017-04-18 12:41:19 +02:00
Wosser1sProductions de82afa631 Default GRC threshold and freq_grad_idx improvement
+ Added threshold to GRC block ctor
+ Added default values for lora_receiver block
~ Moved whitening sequence selection to ctor
    to accomodate for SF6 incompatibility
~ Changed max_freq_gradient_idx with simpler falling edge detection
2017-03-31 16:49:22 +02:00
Wosser1sProductions 296081ba39 Quick improvements
+ Added generated whitining sequences (but not in actual code: needs
further testing)
- Removed log files, and added results to wiki
+ Added threshold parameter to the lora_receiver block
+ Added failsafe to stop demodulation when noise was reached after data
(packet length in HDR was wrong)
2017-03-29 13:04:04 +02:00
Wosser1sProductions 9f545e9f54 Test generation and whitening sequencing
+ Added script lora_receive_all.py as a command line interface
    to set-up gnuradio on other platforms and receive LoRa packets
~ Automated whitening sequence generation with createWhiteningValues.py
    for various settings
~ Changed _examplify.py to also create XML database with the generated
    samples
+ Added same test sets, but for RTL-SDR and USRP (XML database)
2017-03-24 16:31:08 +01:00
Wosser1sProductions 5de5e8f1ca Additional improvement in synchronisation
~ 'make test' now properly runs the data in qa_BasicTest_XML
~ Consume less samples when syncing is incomplete to improve chances of
success
2017-03-21 18:03:44 +01:00
Wosser1sProductions d074c8b869 Merge remote-tracking branch 'refs/remotes/rpp0/master' 2017-03-21 17:22:33 +01:00
Wosser1sProductions 62cb448c7d Merge pull request #1 from Wosser1sProductions/dev
Dev
2017-03-17 16:53:10 +01:00
Wosser1sProductions 5f01ddeaf1 Detection and Sync improvements
+ Added header with debug macros
+ Added warning for SF 6: the samples are actually wrapped around to SF
12
~ Unwrapped some function calls to liquid-dsp::liquid_unwrap_phase
~ Simplified some more code
~ Rewrote sliding_norm_cross_correlate_upchirp: Now we detect a falling
edge
and do a correlation from there to test the sync rate.
Also added code that can perform a perfect overlay shift to the ideal
chirp
(but this leaves the falling edge inside the window)
~ Rewrote find_preamble_start_fast: Now detects the start of the
preamble
by looking for for absolute complex values above a threshold
~ Fixed ids in qa_BasicTest_Data.xml
~ qa_BasicTest.log contains test runs showing the improvements in
passing tests.
+ Added createWhiteningValues.py to generate a sample with zeros and
append
the whitening sequence to a file so it can be averaged (untested).
This uses lora-whitening-sequencer.
~ Added zero padding to whitening sequences in tables.h
2017-03-17 16:51:40 +01:00
rpp0 aa89f0026b Merge pull request #24 from Wosser1sProductions/master
Bugfix in XML test
2017-02-28 09:51:37 +01:00
Wosser1sProductions 53af2322b0 Starting decoder rework
~ Reworked flow of most of the functions
2017-02-23 21:16:27 +01:00
Wosser1sProductions dbadd1aacb Starting decoder rework
~ Changed indentation layout
~ Replaced some functions from utilities.h with more performant ones
(tested in gr-lora-benchmarks)
+ Added message if spreading factor is set outside of compatible range
+ Added this keyword for class members
+ Added NDEBUG macro to be able to completely remove debugging (for
performance improvement)
~ Extracted multiplications from loops to a precalculation instead
~ Reworked flow of most of the functions
* TODO: Change find_preamble algorithm for better detection
* TODO: Change detect_downchirp algorithm for better sync
2017-02-23 21:12:40 +01:00
Wosser1sProductions 447487380b BasicTest id fix
~ Changed test id when printing log to actual id from xml file (for easy
look-up)
~ Tests are now properly grouped by data and the times the data is
expected
2017-02-23 20:08:18 +01:00
Wosser1sProductions 9730ee8ebe Bugfix in XML test
~ Fixed the testing to properly create and destroy a tob_block so the
correct spreading factor can be set.
~ Removed explicit expected-data-all and expected-hdr in xml file. This
way the testing will only be done on the actual data and not the PHY HDR
(since its currently unsure whate the correct HDR should be)
2017-02-22 19:18:59 +01:00
rpp0 c3463d69ce Merge pull request #22 from Wosser1sProductions/master
Added Unit Testing from XML database file
2017-02-22 12:39:32 +01:00
Wosser1sProductions f0471a93ce Sample testing from XML
+ Added qa_BasicTest_Data.xml file with list of al the samples generated
and their setting.
+ Added qa_BasicTest_XML.py to run Unit Tests by parsing the xml file
~ Changed ReadMe to include these changes
2017-02-20 20:44:46 +01:00
Wosser1sProductions 35d2a47cf7 Change default linefeed handling 2017-02-20 20:20:12 +01:00
Wosser1sProductions 94385a70fb Merge branch 'master' of https://github.com/Wosser1sProductions/gr-lora 2017-02-20 20:07:14 +01:00
Wosser1sProductions b988ecc29e Merge remote-tracking branch 'refs/remotes/origin/master' into rpp0/master 2017-02-20 20:04:15 +01:00
Wosser1sProductions 424f150913 Revert "Revert "Revert "Saving files before refreshing line endings"""
This reverts commit 7218b15f02.
2017-02-20 20:03:56 +01:00
Wosser1sProductions 7218b15f02 Revert "Revert "Saving files before refreshing line endings""
This reverts commit 1c92160b69.
2017-02-20 20:03:47 +01:00
Wosser1sProductions 1c92160b69 Revert "Saving files before refreshing line endings"
This reverts commit b7f70c5a82.
2017-02-20 20:03:40 +01:00
Wosser1sProductions b7f70c5a82 Saving files before refreshing line endings 2017-02-20 19:58:35 +01:00
Wosser1sProductions 9205a9d571 Merge remote-tracking branch 'refs/remotes/rpp0/master' 2017-02-20 19:55:18 +01:00
rpp0 3b27e2a8eb Merge pull request #21 from Wosser1sProductions/master
Starting Unit Testing with samples
2017-02-20 10:53:48 +01:00
Wosser1sProductions ffe146c1e0 Test rebuild
+ Added message_socket_sink to lora_swig.i CMakeList config
~ [Python] Fixed typo/bug in lora_receiver.py
+ Added qa_BasicTest.py to CMakeList config
~ [Python] Reworked qa_BasicTest: simpler socket receiving, setting
custom Spreading Factor when running test, check if files exist and log
to file, simpler running of new test series
~ [Python] qa_BasicTest: Unit Tests are now grouped by sent data and
Coding Rate: New test series for each coding rate and data pair.
Same CR and data are run in 1 test serie, because the CR changes the
HDR, a different CR with the same data requires a new test series.
~ [Python] Examplify now has SF and CR as ctor args

+ Added qa_basicTest.log: The output when running qa_BasicTest.py
~ Updated expected_results.log: The list of generated example files when
running _examplify.py
2017-02-17 18:34:21 +01:00
Wosser1sProductions 0b6f1528fe Quick fix
~ Replaced unwanted tabs with spaces
~ Replaced paths with relative paths (needs testing)
~ Examplify now takes the output path and name prefix as args
* TO-DO: test messqge_socket_sink with socket.timeout() instead of
manual waiting
2017-02-16 19:00:08 +01:00
Wosser1sProductions 43be513947 Sample generation and extended Unit Testing added
+ Added failure report after Unit Tests
+ Added more seemless and easier testing in sets of different settings
+ Added _examplify.py to generate test samples: change settings in ctor
and record and dump captured data to file
* TO-DO: Add examplify to build o generate shell script?
2017-02-15 22:06:57 +01:00
Wosser1sProductions bebc5b28f7 Added other bug report links 2017-02-15 12:19:11 +01:00