setTlvProtectedInfoMagic

open fun setTlvProtectedInfoMagic(magic: Int)

Sets a custom magic number for the protected TLV info block.

Call this before starting the SMP OTA upgrade if the target device uses a non-standard protected TLV info magic value.

Parameters

magic

The expected 16-bit protected TLV info magic number.