ATECC508A.OTPZone (atecc508a v1.4.0)

Copy Markdown View Source

This module handles operations on the OTP zone.

Summary

Functions

Read the OTP

Write the configuration.

Functions

read(transport)

@spec read(ATECC508A.Transport.t()) :: {:ok, <<_::512>>} | {:error, atom()}

Read the OTP

write(transport, data)

@spec write(ATECC508A.Transport.t(), <<_::512>>) :: :ok | {:error, atom()}

Write the configuration.

This only works when the ATECC508A is unlocked and only bytes not all bytes can be changed. This only writes the ones that can.