Function bluetooth_hci::to_bd_addr_type[][src]

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

Wraps a BdAddr in a BdAddrType.

Errors

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