修改通信协议部分,修改版型为0x04

This commit is contained in:
2025-01-08 09:14:18 +08:00
parent c12273fd46
commit 389d480da7
2 changed files with 4 additions and 6 deletions

View File

@@ -20,7 +20,7 @@
#define RX_BUFFER_SIZE 32
#define PROTOCOL_PACKAGE_HEADER 0xD5
#define PROTOCOL_BOARD_TYPE 0x03
#define PROTOCOL_BOARD_TYPE 0x04
#define PROTOCOL_PACKAGE_LENGTH 0x02
/******************************************************************************/
@@ -48,6 +48,6 @@ validation_result_t validate_package_type(uint8_t* data);
validation_result_t validate_data_length(uint8_t* data);
void gd60914_tempture(void);
void gd60914_tempture_report(void);
#endif //RS485_PROTOCOL_H