去除了test
This commit is contained in:
@ -12,13 +12,14 @@
|
|||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
#include "comon.h"
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#define COMMAND_GET 0x03
|
#define COMMAND_GET 0x03
|
||||||
#define COMMAND_SET 0x06
|
#define COMMAND_SET 0x06
|
||||||
#define COMMAND_MULTSET 0x10
|
#define COMMAND_MULTSET 0x10
|
||||||
#define POLYNOMIAL 0xa001 //modbus crc
|
#define POLYNOMIAL 0xa001 //modbus crc
|
||||||
#include "comon.h"
|
|
||||||
|
|
||||||
|
|
||||||
const u_char GET_ADDRESS[]={0x01,0x03,0x00,0x01,0x00,0x01};
|
const u_char GET_ADDRESS[]={0x01,0x03,0x00,0x01,0x00,0x01};
|
||||||
|
Reference in New Issue
Block a user