Function to_bd_addr_type

Source
pub fn to_bd_addr_type(
    bd_addr_type: u8,
    addr: BdAddr,
) -> Result<BdAddrType, BdAddrTypeError>
Expand description

Wraps a BdAddr in a BdAddrType.

ยงErrors

  • bd_addr_type does not denote an appropriate type. Returns the byte. The address is discarded.