This class represents an Application Protocol Data Unit.
More...
#include <apdu.h>
This class represents an Application Protocol Data Unit.
It is part of a CemiFrame.
Definition at line 11 of file apdu.h.
◆ APDU()
| APDU::APDU |
( |
uint8_t * |
data, |
|
|
CemiFrame & |
frame |
|
) |
| |
|
protected |
The constructor.
- Parameters
-
| data | The data of the APDU. Encoding depends on the ApduType. The class doesn't take possession of this pointer. |
| frame | The CemiFrame this APDU is part of. |
Definition at line 5 of file apdu.cpp.
◆ data()
Get a pointer to the data.
Definition at line 28 of file apdu.cpp.
◆ frame()
◆ length()
| uint8_t APDU::length |
( |
| ) |
const |
Get the length of the APDU.
(This is actually the octet count of the NPDU.)
Definition at line 38 of file apdu.cpp.
◆ printPDU()
Print the contents of the APDU to console.
Definition at line 43 of file apdu.cpp.
◆ type() [1/2]
◆ type() [2/2]
◆ CemiFrame
The documentation for this class was generated from the following files: