Browse Source

update

master
zhaohe 2 years ago
parent
commit
055f967288
  1. 17
      iflytop_xsync_protocol.h

17
iflytop_xsync_protocol.h

@ -7,8 +7,8 @@
#define IFLYTOP_XSYNC_SERVICE_XSYNC_PORT 19900 // xsync¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_SERVICE_PC_PORT 19901 // pc ¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_TIMECODE_REPORT_XSYNC_PORT 19902 // xsync¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_TIMECODE_REPORT_PC_PORT 19903 // pc¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_EVENT_REPORT_XSYNC_PORT 19902 // xsync¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_EVENT_REPORT_PC_PORT 19903 // pc¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_CAMERA_SYNC_PACKET_XSYNC_PORT 13013 // xsync¶Ë¶Ë¿Ú
#define IFLYTOP_XSYNC_CAMERA_SYNC_PACKET_PC_PORT 13014 // pc¶Ë¶Ë¿Ú
@ -92,9 +92,14 @@ typedef struct {
} iflytop_xsync_packet_header_t;
typedef struct {
uint32_t timecode0;
uint32_t timecode1;
} iflytop_timecode_report_packet_t;
uint32_t eventid;
uint32_t data[];
} iflytop_xsync_event_report_packet_t;
typedef enum {
ktimecode_report_event = 0,
kxsync_work_state_report_event = 1,
} iflytop_event_type_t;
#define XYSNC_REG_DEVICE_INFO_START_ADD 0
#define XYSNC_REG_STM32_CONFIG_START_ADD 16
@ -210,7 +215,7 @@ typedef enum {
xsync_stm32_action_none, //
xsync_stm32_action_generator_new_mac, //
xsync_stm32_action_factory_reset, //
xsync_stm32_action_reboot, //
xsync_stm32_action_reboot, //
xsync_stm32_action_storage_cfg, //
} xsync_stm32_action_t;

Loading…
Cancel
Save