nerves_key v0.5.2 NervesKey.OTP View Source
This module handles OTP data stored in the NervesKey.
Link to this section 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.
Link to this section Types
Link to this section 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
Link to this function
read(transport)
View Sourceread(ATECC508A.Transport.t()) :: {:ok, t()} | {:error, atom()}
Read NervesKey information from the OTP data.
Convert a nice config map back to a raw configuration
Link to this function
write(transport, data)
View Sourcewrite(ATECC508A.Transport.t(), <<_::512>>) :: :ok | {:error, atom()}
Write NervesKey information to the OTP zone.