diff options
author | Keith Packard <keithp@keithp.com> | 2014-11-23 18:50:57 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2014-11-23 18:50:57 -0800 |
commit | 0e3eeaf59688dac92eb3a27d589923126cb34e00 (patch) | |
tree | 0eb95e9c3b7f210203fefc8923ef0fbf77ffe159 /src | |
parent | eabeb76a2a9acb624ae364c4f0f315bfc3549d98 (diff) |
altos/cc1200: Open up preamble detect to improve sensitivity
Increase soft decision PQT value to max (15) to ensure that we detect
even weak packets.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/ao_cc1200_CC1200.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/ao_cc1200_CC1200.h b/src/drivers/ao_cc1200_CC1200.h index c078c09d..c5497196 100644 --- a/src/drivers/ao_cc1200_CC1200.h +++ b/src/drivers/ao_cc1200_CC1200.h @@ -46,7 +46,7 @@ CC1200_PREAMBLE_CFG0, /* Preamble Detection Configuration Reg. 0 */ ((1 << CC1200_PREAMBLE_CFG0_PQT_EN) | (CC1200_PREAMBLE_CFG0_PQT_VALID_TIMEOUT_11 << CC1200_PREAMBLE_CFG0_PQT_VALID_TIMEOUT) | - (6 << CC1200_PREAMBLE_CFG0_PQT)), + (15 << CC1200_PREAMBLE_CFG0_PQT)), CC1200_IQIC, 0xcb, /* Digital Image Channel Compensation Configuration */ CC1200_CHAN_BW, 0x11, /* Channel Filter Configuration */ CC1200_MDMCFG1, 0x40, /* General Modem Parameter Configuration Reg. 1 */ |