pub fn get_protocol<W>( buf: &mut [u8], write: W, uid: u32, ) -> Result<(), EspError>where W: FnMut(&[u8]) -> Result<(), EspError>,
Get the current protocol bitmap of the specified interface. docs