blob: 0033b587fb3bcd38b2dbaf5c21c28fce063b7ce9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef CMD_H_
#define CMD_H_
#include <queue.h>
#define MAX_CMD_LEN 32
typedef struct {
enum { SRC_USB, SRC_RF } source;
portCHAR command[ MAX_CMD_LEN ];
} cmd_type;
portBASE_TYPE vCmdInit(void);
extern void DumpUIntToUSB(unsigned int data);
extern void DumpStringToUSB(char *string);
extern void DumpBufferToUSB(char* buffer, int len);
extern xQueueHandle xCmdQueue;
#endif /*CMD_H_*/
|