fuchsia_bluetooth::profile

Function psm_from_protocol

Source
pub fn psm_from_protocol(protocol: &Vec<ProtocolDescriptor>) -> Option<Psm>
Expand description

Returns the PSM from the provided protocol. Returns None if the protocol is not L2CAP or does not contain a PSM.