Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#
DS28E16::PageAuthenticationData Class Reference
Format page authentication input data. More...
#include <DS28E16.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. | |
| PageAuthenticationData & | setRomId (Core::RomId::const_span romId) |
| Set ROM ID. | |
| MaximInterfaceDevices_EXPORT PageAuthenticationData & | setAnonymousRomId () |
| Set ROM ID for use in anonymous mode. | |
Page | |
Data from a device memory page. | |
| Page::span | page () |
| Get mutable page. | |
| Page::const_span | page () const |
| Get immutable page. | |
| PageAuthenticationData & | setPage (Page::const_span page) |
| Set page. | |
Challenge. | |
Random challenge used to prevent replay attacks. | |
| DoublePage::span | challenge () |
| Get mutable Challenge. | |
| DoublePage::const_span | challenge () const |
| Get immutable Challenge. | |
| PageAuthenticationData & | setChallenge (DoublePage::const_span challenge) |
| Set Challenge. | |
Page number | |
Number of the page to use data from. | |
| int | pageNum () const |
| Get page number. | |
| PageAuthenticationData & | setPageNum (int pageNum) |
| Set page number. | |
MAN ID | |
Manufacturer ID of the device. | |
| uint_least8_t & | manId () |
| Get mutable MAN ID. | |
| uint_least8_t | manId () const |
| Get immutable MAN ID. | |
| PageAuthenticationData & | setManId (uint_least8_t manId) |
| Set MAN ID. | |
Detailed Description
Format page authentication input data.
Definition at line 207 of file DS28E16.hpp.
Member Function Documentation
| DoublePage::span challenge | ( | ) |
Get mutable Challenge.
Definition at line 270 of file DS28E16.hpp.
| DoublePage::const_span challenge | ( | ) | const |
Get immutable Challenge.
Definition at line 275 of file DS28E16.hpp.
| uint_least8_t& manId | ( | ) |
Get mutable MAN ID.
Definition at line 307 of file DS28E16.hpp.
| uint_least8_t manId | ( | ) | const |
Get immutable MAN ID.
Definition at line 310 of file DS28E16.hpp.
| Page::span page | ( | ) |
Get mutable page.
Definition at line 248 of file DS28E16.hpp.
| Page::const_span page | ( | ) | const |
Get immutable page.
Definition at line 253 of file DS28E16.hpp.
| int pageNum | ( | ) | const |
Get page number.
Definition at line 292 of file DS28E16.hpp.
| Result::const_span result | ( | ) | const |
Formatted data result.
Definition at line 216 of file DS28E16.hpp.
| Core::RomId::span romId | ( | ) |
Get mutable ROM ID.
Definition at line 223 of file DS28E16.hpp.
| Core::RomId::const_span romId | ( | ) | const |
Get immutable ROM ID.
Definition at line 228 of file DS28E16.hpp.
| DS28E16::PageAuthenticationData & setAnonymousRomId | ( | ) |
Set ROM ID for use in anonymous mode.
Definition at line 271 of file DS28E16.cpp.
| PageAuthenticationData& setChallenge | ( | DoublePage::const_span | challenge ) |
Set Challenge.
Definition at line 280 of file DS28E16.hpp.
| PageAuthenticationData& setManId | ( | uint_least8_t | manId ) |
Set MAN ID.
Definition at line 315 of file DS28E16.hpp.
| PageAuthenticationData& setPage | ( | Page::const_span | page ) |
Set page.
Definition at line 258 of file DS28E16.hpp.
| PageAuthenticationData& setPageNum | ( | int | pageNum ) |
Set page number.
Definition at line 295 of file DS28E16.hpp.
| PageAuthenticationData& setRomId | ( | Core::RomId::const_span | romId ) |
Set ROM ID.
Definition at line 233 of file DS28E16.hpp.
Generated on Tue Jul 12 2022 11:13:24 by
1.7.2