decodeAndAuthenticate

fun decodeAndAuthenticate(pdu: ByteArray, privateBeaconKey: ByteArray): Pair<Byte, ByteArray>?

Decodes and authenticates the received Private Beacon using the given Private Beacon Key.

Parameters

pdu

The received Private Beacon beacon.

privateBeaconKey

The Private Beacon Key generated from a Network Key.