2026-01-19 15:51:03 +08:00
|
|
|
#ifndef __UART_PROTOCOL_H__
|
|
|
|
|
#define __UART_PROTOCOL_H__
|
|
|
|
|
|
|
|
|
|
#include "apt32f102_types_local.h"
|
|
|
|
|
#include "uart.h"
|
|
|
|
|
|
2026-02-09 17:32:59 +08:00
|
|
|
#define Tem_Type 0x04 //温控器类型
|
2026-01-19 15:51:03 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void Rs485AskCtrlSend(U8_T* Recdata);
|
|
|
|
|
void Rs485_ASend(U32_T valtim);
|
2026-02-09 17:32:59 +08:00
|
|
|
U8_T IrSend_Rs485_Pro(U8_T *RecData, U16_T Len);
|
2026-01-19 15:51:03 +08:00
|
|
|
|
|
|
|
|
#endif
|