Skip to content

Commit 413f218

Browse files
committed
update of 1090 ES radio protocol descriptor [skip ci]
1 parent 2d9f97d commit 413f218

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

software/firmware/source/SoftRF/src/protocol/radio/ES1090.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ const rf_proto_desc_t es1090_proto_desc = {
3535
.syncword = ES1090_SYNCWORD,
3636
.syncword_size = ES1090_SYNCWORD_SIZE,
3737
.net_id = 0x0000, /* not in use */
38-
.payload_type = RF_PAYLOAD_DIRECT,
38+
.payload_type = RF_PAYLOAD_INVERTED,
3939
.payload_size = ES1090_PAYLOAD_SIZE,
4040
.payload_offset = 0,
4141
.crc_type = ES1090_CRC_TYPE,
4242
.crc_size = ES1090_CRC_SIZE,
4343

4444
.bitrate = RF_BITRATE_1042KBPS,
4545
.deviation = RF_FREQUENCY_DEVIATION_NONE,
46-
.whitening = RF_WHITENING_NONE,
46+
.whitening = RF_WHITENING_MANCHESTER,
4747
.bandwidth = RF_RX_BANDWIDTH_SS_1567KHZ,
4848

4949
.air_time = ES1090_AIR_TIME,

software/firmware/source/SoftRF/src/protocol/radio/ES1090.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
#include <mode-s.h>
2525
#include <protocol.h>
2626

27-
#define ES1090_PREAMBLE_TYPE RF_PREAMBLE_TYPE_AA /* TBD */
28-
#define ES1090_PREAMBLE_SIZE 1 /* TBD */
27+
#define ES1090_PREAMBLE_TYPE RF_PREAMBLE_TYPE_AA
28+
#define ES1090_PREAMBLE_SIZE 0
2929

30-
#define ES1090_SYNCWORD { 0x00 } /* TBD */
31-
#define ES1090_SYNCWORD_SIZE 1
30+
#define ES1090_SYNCWORD { 0x02, 0x85 }
31+
#define ES1090_SYNCWORD_SIZE 2
3232
#define ES1090_PAYLOAD_SIZE MODE_S_LONG_MSG_BYTES
3333
#define ES1090_CRC_TYPE RF_CHECKSUM_TYPE_CRC_MODES
3434
#define ES1090_CRC_SIZE 3

0 commit comments

Comments
 (0)