int32_t(* UAVTalkOutputCb)(void *ctx, uint8_t *data, int32_t length)
void(* UAVTalkAckCb)(void *ctx, uint32_t obj_id, uint16_t inst_id)
int32_t UAVTalkSendObjectTimestamped(UAVTalkConnection connectionHandle, UAVObjHandle obj, uint16_t instId)
int32_t UAVTalkSendNack(UAVTalkConnection connectionHandle, uint32_t objId, uint16_t instId)
static void ackCallback(void *ctx, uint32_t obj_id, uint16_t inst_id)
void UAVTalkGetStats(UAVTalkConnection connection, UAVTalkStats *stats)
void(* UAVTalkReqCb)(void *ctx, uint32_t obj_id, uint16_t inst_id)
void UAVTalkProcessInputStream(UAVTalkConnection connectionHandle, uint8_t *rxbytes, int numbytes)
static void reqCallback(void *ctx, uint32_t obj_id, uint16_t inst_id)
uint8_t data[XFER_BYTES_PER_PACKET]
UAVTalkConnection UAVTalkInitialize(void *ctx, UAVTalkOutputCb outputStream, UAVTalkAckCb ackCallback, UAVTalkReqCb reqCallback, UAVTalkFileCb fileCallback)
int32_t(* UAVTalkFileCb)(void *ctx, uint8_t *buf, uint32_t file_id, uint32_t offset, uint32_t len)
uint32_t UAVTalkGetPacketInstId(UAVTalkConnection connection)
Tracking statistics for a UAVTalk connection.
int32_t UAVTalkSendObject(UAVTalkConnection connection, UAVObjHandle obj, uint16_t instId, uint8_t acked)
UAVTalkRxState UAVTalkProcessInputStreamQuiet(UAVTalkConnection connection, uint8_t rxbyte)
int32_t UAVTalkReceiveObject(UAVTalkConnection connectionHandle)
int32_t UAVTalkRelayPacket(UAVTalkConnection inConnectionHandle, UAVTalkConnection outConnectionHandle)
uint32_t UAVTalkGetPacketObjId(UAVTalkConnection connection)