Function riot_sys::coap_get_accept

source ·
pub unsafe extern "C" fn coap_get_accept(
    pkt: *mut coap_pkt_t
) -> c_uint
Expand description

@brief Get the Accept option value from a packet if present

@param[in] pkt packet to work on

@returns the packet’s Accept option value if included, COAP_FORMAT_NONE otherwise