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.
pub fn psm_from_protocol(protocol: &Vec<ProtocolDescriptor>) -> Option<Psm>
Returns the PSM from the provided protocol
. Returns None if the protocol
is not L2CAP or does not contain a PSM.