📄 tda5250_message.h
字号:
#ifndef TDA5250_MESSAGE_H#define TDA5250_MESSAGE_H#include "AM.h"#include "PacketAck.h"typedef nx_struct tda5250_header_t { nx_uint8_t length; nx_am_addr_t src; nx_am_addr_t dest; nx_am_id_t type; nx_uint8_t token;} tda5250_header_t;typedef nx_struct tda5250_footer_t { nxle_uint16_t crc;} tda5250_footer_t;typedef nx_struct tda5250_metadata_t { nx_uint16_t strength; nx_uint8_t ack; /* local time when message was generated */ nx_uint32_t time; nx_uint8_t sendSecurityMode; nx_uint8_t receiveSecurityMode; /* some meta information that allows to compute a density */ nx_uint8_t maxRepetitions; nx_uint8_t repetitions;} tda5250_metadata_t;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -