added vehicle status message
This commit is contained in:
14
CLS.h
14
CLS.h
@@ -30,8 +30,20 @@ typedef struct CLS_HeatbeatData
|
||||
CLS_Position_t position;
|
||||
} CLS_HeatbeatData_t;
|
||||
|
||||
|
||||
typedef struct CLS_VehicleStatus {
|
||||
uint8_t k15;
|
||||
uint8_t headlight;
|
||||
uint8_t engine;
|
||||
uint8_t speed;
|
||||
uint8_t reserved[4];
|
||||
} CLS_VehicleStatus_t;
|
||||
|
||||
extern uint8_t gCLS_DEVICE_ADDRESS;
|
||||
|
||||
|
||||
void CLS_Init(void);
|
||||
void CLS_SendEventChangeTypePostion(uint16_t canid, CLS_Type_t newType, CLS_Position_t newPostion);
|
||||
void CLS_SendEventChangeTypePostion(uint16_t canid, CLS_Type_t newType, CLS_Position_t newPostion);
|
||||
|
||||
|
||||
void CLS_VehicleHeatbeat(void *argument);
|
||||
Reference in New Issue
Block a user