Function riot_sys::coap_find_option

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

@brief Get pointer to an option field by type

@param[in] pkt packet to work on @param[in] opt_num the option number to search for

@returns pointer to the option data NULL if option number was not found