root / proj / libs / uart / include / hltp.h @ 298
History | View | Annotate | Download (292 Bytes)
1 | 289 | up20180642 | #ifndef HLTP_H_INCLUDED
|
---|---|---|---|
2 | #define HLTP_H_INCLUDED
|
||
3 | |||
4 | #include "uart.h" |
||
5 | |||
6 | typedef enum{ |
||
7 | hltp_type_invalid = 0x00,
|
||
8 | hltp_type_string = 0x53
|
||
9 | } hltp_type; |
||
10 | |||
11 | int hltp_send_string(const char *p); |
||
12 | hltp_type hltp_interpret(const uint8_t *p, const size_t sz, void **dest); |
||
13 | |||
14 | #endif //HLTP_H_INCLUDED |