Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
Diff: components/802.15.4_RF/stm-s2lp-rf-driver/source/s2lpReg.h
- Revision:
- 1:9db0e321a9f4
- Parent:
- 0:5b88d5760320
--- a/components/802.15.4_RF/stm-s2lp-rf-driver/source/s2lpReg.h Tue Dec 17 23:23:45 2019 +0000 +++ b/components/802.15.4_RF/stm-s2lp-rf-driver/source/s2lpReg.h Tue Dec 31 06:02:27 2019 +0000 @@ -229,7 +229,7 @@ #define DEFAULT_DEVIATION 125000 #define RX_FILTER_BANDWIDTH 540000 -#define RSSI_THRESHOLD -60 +#define RSSI_THRESHOLD -85 // PCKTCTRL6 #define PCKT_SYNCLEN_FIELD 0xFC @@ -249,10 +249,14 @@ // PCKTCTRL2 #define PCKT_FIXVARLEN_FIELD 0x01 #define PCKT_VARIABLE_LEN (1 << 0) +#define PCKT_FCS_TYPE_FIELD 0x20 +#define PCKT_FCS_TYPE_4_OCTET (0 << 5) +#define PCKT_FCS_TYPE_2_OCTET (1 << 5) // PCKTCTRL1 #define PCKT_CRCMODE_FIELD 0xE0 #define PCKT_CRCMODE_0X1021 (3 << 5) +#define PCKT_CRCMODE_0x04C11DB7 (5 << 5) #define PCKT_TXSOURCE_FIELD 0x0C #define PCKT_TXSOURCE_NORMAL (0 << 2) #define PCKT_WHITENING_FIELD 0x10