File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
software/firmware/source/SoftRF/src/protocol/radio Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments