InPlay API
ipmac_mst_tx_t Struct Reference

Master TX parameter. More...

#include <hal_ipmac.h>

Data Fields

int type
 Packet type, enum ipmac_packet_type.
 
int slv_id
 Slave id, 1 to 127.
 
uint8_t * buf
 Data buffer.
 
uint16_t buf_len
 Buffer length.
 
uint32_t tmo
 Timeout,unit is ms. osWaitForever:wait forever timeout value, 0:don't wait, return immediately.
 
void * arg
 Argument passed to callback function when callback is called.
 
void(* callback )(void *arg, int type, int slv_id, int status)
 Callback function when tx is done, if not NULL, tmo is ignored.
 

Detailed Description

Master TX parameter.