Function csp_send_prio

Source
pub unsafe extern "C" fn csp_send_prio(
    prio: u8,
    conn: *mut csp_conn_t,
    packet: *mut csp_packet_t,
)
Expand description

Change the default priority of the connection and send a packet.

.. note:: The priority of the connection will be changed. If you need to change it back, call csp_send_prio() again.

@param[in] prio priority to set on the connection @param[in] conn connection @param[in] packet packet to send