-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotocol.h
executable file
·33 lines (29 loc) · 1.25 KB
/
protocol.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
//------------------------------------------------------------------------------
/**
* @file protocol.h
* @author charles-park ([email protected])
* @brief ODROID-M1S JIG Client App.
* @version 0.2
* @date 2023-10-23
*
* @package apt install iperf3, nmap, ethtool, usbutils, alsa-utils
*
* @copyright Copyright (c) 2022
*
*/
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
#ifndef __PROTOCOL_H__
#define __PROTOCOL_H__
#include "lib_uart/lib_uart.h"
//------------------------------------------------------------------------------
// function prototype define
//------------------------------------------------------------------------------
extern int protocol_catch (ptc_var_t *var);
extern int protocol_check (ptc_var_t *var);
extern void protocol_msg_tx (uart_t *puart, void *tx_msg);
extern int protocol_msg_rx (uart_t *puart, char *rx_msg);
//------------------------------------------------------------------------------
#endif // #define __PROTOCOL_H__
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------