fromEncoded

Decodes a 7-byte Bluetooth CSS section 1.16 wire representation into a BlePeripheralAddress.

Return

the decoded BlePeripheralAddress.

Parameters

encoded

the 7-byte encoded peripheral address (6-byte little-endian BD_ADDR + 1-byte type).

Throws

if encoded is not 7 bytes or has an invalid address type.