完成回包构建以及CRC求和检验

This commit is contained in:
2024-12-23 16:03:27 +08:00
parent 8e2cdd1ac5
commit b307160ba0
2 changed files with 39 additions and 13 deletions

View File

@@ -29,5 +29,7 @@
void rs485_config(void);
void process_command(char *cmd);
uint8_t calculate_crc(uint8_t package_header[3], uint8_t package_data[], size_t data_length);
void eddy_current_value_report(void);
void tempture_value_report(void);
#endif //RS485_H