#ifndef _INCLUDE_EXTERN_INTERFACE_DETAIL_H_ #define _INCLUDE_EXTERN_INTERFACE_DETAIL_H_ #include #include #include "external_interface.h" #include "exint/protocol.hpp" #define PrintFilePos() #define COMMAND_RESEND_INTERVAL 250 #define COMMAND_RESEND_MAX_COUNT 3 extern "C" { void exint_handle_pack(uint32_t type, size_t len, void* data); } extern int g_iExternTimeDifference; extern uint8_t g_iAlarmCode[4]; extern std::unique_ptr g_upperhost_transport; extern std::unique_ptr g_telemetry_transport; void exint_setup(std::unique_ptr&& upperhost_transport, std::unique_ptr&& telemetry_transport, et_callback_t cb); #endif