/******************************************************************************* * the includes ******************************************************************************/ #include "ud_31.h" /******************************************************************************* * the defines ******************************************************************************/ /******************************************************************************* * the typedefs ******************************************************************************/ typedef enum { CMD31_Idle, CMD31_NUM, } CMD31_type; /******************************************************************************* * the globals ******************************************************************************/ /******************************************************************************* * the const ******************************************************************************/ /******************************************************************************* * the functions ******************************************************************************/ void uartapp_cmd31(uint8_t* data, uint16_t len) { if (len < 1) { return; } CMD31_type subid = data[0]; switch (subid) { case CMD31_Idle: break; default: break; } }