/* * bsp_decode_command.h * * Created on: Sep 24, 2024 * Author: akeguo */ #ifndef INC_BSP_BSP_DECODE_COMMAND_H_ #define INC_BSP_BSP_DECODE_COMMAND_H_ #include "main.h" #include "msp_WH_LTE_7S0.h" #include "msp_Angle_Encoder_YL159.h" #include "pb_decode.h" #include "pb_encode.h" #include "bsp_include.h" #include "pb.h" #include "bsp_Desulfurizer.pb.h" #include "bsp_Cmd.pb.h" #include #include #include #include "bsp_Log.h" #include "msp_Steering_Engine.h" #include "BHBF_ROBOT.h" #include "bsp_cpu_flash.h" #include #include #include "bsp_ReCmd.pb.h" #include "bsp_IV.pb.h" void send_received_data_to_upper_computer(uint8_t *buffer, uint16_t length); void decode_command_and_feedback(uint8_t *buffer, uint16_t length, char isMqtt, struct UARTHandler *send_Handler); void WrapInCmdAndSend(ReCmd send_Cmd, uint8_t *buf, char isMqtt,struct UARTHandler *send_Handler); void WrapInCmdAndSendMessage(ReCmd send_Cmd,int8_t functionNum,char isSuccess, uint8_t *buf, char isMqtt, struct UARTHandler *send_Handler); #endif /* INC_BSP_BSP_DECODE_COMMAND_H_ */