NervesKey.OTP (nerves_key v1.3.0)
View SourceThis module handles OTP data stored in the NervesKey.
Summary
Functions
Convert a raw configuration to a nice map.
Convert a raw configuration to a nice map. Raise if there is an error.
Create a NervesKey OTP data struct
Read NervesKey information from the OTP data.
Convert a nice config map back to a raw configuration
Write NervesKey information to the OTP zone.
Types
Functions
Convert a raw configuration to a nice map.
Convert a raw configuration to a nice map. Raise if there is an error.
Create a NervesKey OTP data struct
@spec read(ATECC508A.Transport.t()) :: {:ok, t()} | {:error, atom()}
Read NervesKey information from the OTP data.
Convert a nice config map back to a raw configuration
@spec write(ATECC508A.Transport.t(), raw()) :: :ok | {:error, atom()}
Write NervesKey information to the OTP zone.