#ifndef __PROTOCOL_H
#define	__PROTOCOL_H

#include "gateway_message.h"
// 解析发过来的数据是modbus还是dlt645 
#define	MODBUS_WRITE 4                //本机用于区分读写
#define	MODBUS_READ 3
#define	DLT645_07 1
#define	DLT645_97 2
extern uint8_t protocol_485;


#define	MODBUS 3


#endif
