iso15693_3_poller_send_frame

Function iso15693_3_poller_send_frame 

Source
pub unsafe extern "C" fn iso15693_3_poller_send_frame(
    instance: *mut Iso15693_3Poller,
    tx_buffer: *const BitBuffer,
    rx_buffer: *mut BitBuffer,
    fwt: u32,
) -> Iso15693_3Error
Expand description

Transmit and receive Iso15693_3 frames in poller mode.

Must ONLY be used inside the callback function.

The rx_buffer will be filled with any data received as a response to data sent from tx_buffer, with a timeout defined by the fwt parameter.

§Arguments

  • instance (direction in, out) - pointer to the instance to be used in the transaction.
  • tx_buffer (direction in) - pointer to the buffer containing the data to be transmitted.
  • rx_buffer (direction out) - pointer to the buffer to be filled with received data.
  • fwt (direction in) - frame wait time (response timeout), in carrier cycles.

§Returns

Iso15693_3ErrorNone on success, an error code on failure.