You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

22 lines
597 B

#include "stdbool.h"
#include "stdint.h"
#include "protocol.h"
#define SOCKET int
typedef enum
{
TRIGGER_MOD_CLOSE = 0,
TRIGGER_MOD_GENLOCK_OPEN = 1,
} TRIGGER_MOD_TYPE;
void udp_client_init(void);
void udp_client_send_string(char *pData);
void udp_client_recv(void);
void udp_client_parse(int recv_datalen);
void udp_client_active(void);
void udp_client_genlock_and_esync_active(void);
bool *udp_client_genlock_and_esync_active_flag_ret(void);
protocol_active_and_trigger_report_t *udp_client_get_active_report_data_structer(void);
uint16_t udp_client_get_s_trigger_mode_value(void);