Skip to content

Commit

Permalink
Remove autocorr squelch to improve sensitivity to low power signals
Browse files Browse the repository at this point in the history
  • Loading branch information
rpp0 committed Sep 15, 2017
1 parent 829d670 commit 8bf1953
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 12 deletions.
2 changes: 1 addition & 1 deletion docs/test-results/decode_long_hackrf.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test suite: 'decode_long_hackrf'

*Results on 2017-09-14 14:36:37.348840*
*Results on 2017-09-15 11:28:32.183183*

### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Expand Down
2 changes: 1 addition & 1 deletion docs/test-results/decode_long_rtl-sdr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test suite: 'decode_long_rtl-sdr'

*Results on 2017-09-14 14:35:21.382711*
*Results on 2017-09-15 11:27:16.260766*

### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Expand Down
2 changes: 1 addition & 1 deletion docs/test-results/decode_long_usrp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test suite: 'decode_long_usrp'

*Results on 2017-09-14 14:35:57.973367*
*Results on 2017-09-15 11:27:52.849819*

### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Expand Down
2 changes: 1 addition & 1 deletion docs/test-results/short_hackrf.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test suite: 'short_hackrf'

*Results on 2017-09-14 14:45:53.995797*
*Results on 2017-09-15 11:37:48.801373*

### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Expand Down
2 changes: 1 addition & 1 deletion docs/test-results/short_rtl-sdr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test suite: 'short_rtl-sdr'

*Results on 2017-09-14 14:37:14.668511*
*Results on 2017-09-15 11:29:09.534517*

### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Expand Down
2 changes: 1 addition & 1 deletion docs/test-results/short_usrp.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Test suite: 'short_usrp'

*Results on 2017-09-14 14:41:17.943080*
*Results on 2017-09-15 11:33:12.759248*

### 868.1 MHz, SF 7, CR 4/8, BW 125 kHz, prlen 8, crc on, implicit off

Expand Down
6 changes: 0 additions & 6 deletions lib/decoder_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,6 @@ namespace gr {

autocorr = abs(dot_product / gr_complex(sqrt(energy_chirp1 * energy_chirp2), 0));

if(energy_chirp1 < 0.05f)
autocorr = 0; // TODO: fixme

return autocorr;
}

Expand Down Expand Up @@ -699,9 +696,6 @@ namespace gr {

d_fine_sync = 0; // Always reset fine sync

// DBGR_TIME_MEASUREMENT_TO_FILE("SF7_fft_idx");
// DBGR_START_TIME_MEASUREMENT(false, gr::lora::DecoderStateToString(d_state));

switch (d_state) {
case gr::lora::DecoderState::DETECT: {
float correlation = detect_preamble_autocorr(input, d_samples_per_symbol);
Expand Down

0 comments on commit 8bf1953

Please sign in to comment.