Обновление
This commit is contained in:
parent
82e4f4adc6
commit
bc6af4e415
|
|
@ -7,11 +7,16 @@
|
||||||
|
|
||||||
#include "CanSerialPortFrame.h"
|
#include "CanSerialPortFrame.h"
|
||||||
|
|
||||||
#define PROTOCOL_XCP_ID 0x23
|
|
||||||
|
|
||||||
#define PROTOCOL_CAN_RAW 0
|
#define PROTOCOL_CAN_RAW 0
|
||||||
|
|
||||||
#define PROTOCOL_CAN_XCP 1
|
#define PROTOCOL_CAN_XCP 1
|
||||||
|
#define PROTOCOL_CAN_ADR_XCP 0x250
|
||||||
|
#define PROTOCOL_CAN_TYPE_XCP 0x00
|
||||||
|
|
||||||
#define PROTOCOL_CAN_UDS 2
|
#define PROTOCOL_CAN_UDS 2
|
||||||
|
#define PROTOCOL_CAN_ADR_UDS 0x7BB
|
||||||
|
#define PROTOCOL_CAN_TYPE_UDS 0x00
|
||||||
|
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
tCanSerialPortFrameFlagchip Can0;
|
tCanSerialPortFrameFlagchip Can0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue