Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

DS28E83_DS28E84::WriteAuthenticationData Class Reference

DS28E83_DS28E84::WriteAuthenticationData Class Reference

Format authenticated write input data. More...

#include <DS28E83_DS28E84.hpp>

Public Member Functions

Result::const_span result () const
 Formatted data result.
ROM ID

1-Wire ROM ID of the device.

Core::RomId::span romId ()
 Get mutable ROM ID.
Core::RomId::const_span romId () const
 Get immutable ROM ID.
WriteAuthenticationDatasetRomId (Core::RomId::const_span romId)
 Set ROM ID.
WriteAuthenticationDatasetAnonymousRomId ()
 Set ROM ID for use in anonymous mode.
Old page

Existing data contained in the page.

Page::span oldPage ()
 Get mutable old page.
Page::const_span oldPage () const
 Get immutable old page.
WriteAuthenticationDatasetOldPage (Page::const_span oldPage)
 Set old page.
New page

New data to write to the page.

Page::span newPage ()
 Get mutable new page.
Page::const_span newPage () const
 Get immutable new page.
WriteAuthenticationDatasetNewPage (Page::const_span newPage)
 Set new page.
Page number

Page number for write operation.

int pageNum () const
 Get page number.
WriteAuthenticationDatasetPageNum (int pageNum)
 Set page number.
MAN ID

Manufacturer ID of the device.

Core::ManId::span manId ()
 Get mutable MAN ID.
Core::ManId::const_span manId () const
 Get immutable MAN ID.
WriteAuthenticationDatasetManId (Core::ManId::const_span manId)
 Set MAN ID.

Detailed Description

Format authenticated write input data.

Definition at line 565 of file DS28E83_DS28E84.hpp.


Member Function Documentation

Core::ManId::span manId (  )

Get mutable MAN ID.

Definition at line 654 of file DS28E83_DS28E84.hpp.

Core::ManId::const_span manId (  ) const

Get immutable MAN ID.

Definition at line 657 of file DS28E83_DS28E84.hpp.

Page::const_span newPage (  ) const

Get immutable new page.

Definition at line 624 of file DS28E83_DS28E84.hpp.

Page::span newPage (  )

Get mutable new page.

Definition at line 621 of file DS28E83_DS28E84.hpp.

Page::span oldPage (  )

Get mutable old page.

Definition at line 603 of file DS28E83_DS28E84.hpp.

Page::const_span oldPage (  ) const

Get immutable old page.

Definition at line 606 of file DS28E83_DS28E84.hpp.

int pageNum (  ) const

Get page number.

Definition at line 639 of file DS28E83_DS28E84.hpp.

Result::const_span result (  ) const

Formatted data result.

Definition at line 572 of file DS28E83_DS28E84.hpp.

Core::RomId::span romId (  )

Get mutable ROM ID.

Definition at line 579 of file DS28E83_DS28E84.hpp.

Core::RomId::const_span romId (  ) const

Get immutable ROM ID.

Definition at line 582 of file DS28E83_DS28E84.hpp.

WriteAuthenticationData& setAnonymousRomId (  )

Set ROM ID for use in anonymous mode.

Definition at line 591 of file DS28E83_DS28E84.hpp.

WriteAuthenticationData& setManId ( Core::ManId::const_span  manId )

Set MAN ID.

Definition at line 660 of file DS28E83_DS28E84.hpp.

WriteAuthenticationData& setNewPage ( Page::const_span  newPage )

Set new page.

Definition at line 627 of file DS28E83_DS28E84.hpp.

WriteAuthenticationData& setOldPage ( Page::const_span  oldPage )

Set old page.

Definition at line 609 of file DS28E83_DS28E84.hpp.

WriteAuthenticationData& setPageNum ( int  pageNum )

Set page number.

Definition at line 642 of file DS28E83_DS28E84.hpp.

WriteAuthenticationData& setRomId ( Core::RomId::const_span  romId )

Set ROM ID.

Definition at line 585 of file DS28E83_DS28E84.hpp.