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

27 lines
677 B
C

#ifndef __PD_CSGIRON_H__
#define __PD_CSGIRON_H__
#ifdef CFG_DEV_TYPE_LAND_PD
/* Includes ------------------------------------------------------------------*/
//#include "pd_dau.h"
typedef int32_t (*csgiron_recv_fun_cb)(uint8_t, char*, uint16_t);
typedef struct
{
uint8_t vport; // slot 1~8
uint8_t reserved[1];
uint16_t report_period;
} iron_config_t;
typedef struct {
uint8_t vport; // slot编号 1~8
uint8_t result; // 应答结果. 0:成功 1:失败
uint8_t reserved[2]; // 保留
}iron_ack_t;
extern int32_t _csgiron_recv_process(uint8_t slot, char *pkt, uint16_t len);
#endif
#endif