pub unsafe extern "C" fn csp_read(
conn: *mut csp_conn_t,
timeout: u32,
) -> *mut csp_packet_tExpand description
Read packet from a connection. This fuction will wait on the connection’s RX queue for the specified timeout.
@param[in] conn connection @param[in] timeout timeout in mS to wait for a packet, use CSP_MAX_TIMEOUT for infinite timeout. @return Packet or NULL in case of failure or timeout.