riot_sys

Function 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