32 lines
723 B
C
32 lines
723 B
C
#ifndef _INCLUDE_EXTERN_INTERFACE_DETAIL_H_
|
|
#define _INCLUDE_EXTERN_INTERFACE_DETAIL_H_
|
|
|
|
#include <stdint.h>
|
|
#include "external_interface.h"
|
|
|
|
#define PrintFilePos()
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void exint_handle_pack(uint32_t type, size_t len, union PacketData data);
|
|
int exint_init_from_tty(int host_com_tty, int telemetry_com_tty, et_callback_t cb);
|
|
|
|
void* telemetry_host_com_thread(void* args);
|
|
void* upper_host_com_thread(void* arg);
|
|
|
|
extern int g_iHostCom_tty_id;
|
|
extern int g_iTelemetry_Com_tty_id;
|
|
extern int g_iEnableAlarmCode;
|
|
extern bool g_bKeepExintRuning;
|
|
extern int g_iExternTimeDifference;
|
|
extern int g_iUseHostComForTelemetry;
|
|
extern uint8_t g_iAlarmCode[4];
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|