Function riot_sys::coap_get_content_type

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

@brief Get content type from packet

@param[in] pkt packet to work on

@returns the packet’s content type value if included, COAP_FORMAT_NONE otherwise