|
SWE-350 TOTP Generator Milestone 5
The DE-10 board has six 7-segment displays, this can be used to display and generate a time based one-time pin (TOTP).
|
#include <QrCode.hpp>

Data Structures | |
| class | Ecc |
Public Member Functions | |
| QrCode (int ver, const Ecc &ecl, const std::vector< uint8_t > &dataCodewords, int mask) | |
| QrCode (const QrCode &qr, int mask) | |
| int | getMask () const |
| int | getModule (int x, int y) const |
| std::string | toSvgString (int border) const |
Static Public Member Functions | |
| static QrCode | encodeText (const char *text, int version, const Ecc &ecl) |
| static QrCode | encodeBinary (const std::vector< uint8_t > &data, const Ecc &ecl) |
| static QrCode | encodeSegments (const std::vector< QrSegment > &segs, const Ecc &ecl, int minVersion=1, int maxVersion=40, int mask=-1, bool boostEcl=true) |
Data Fields | |
| const int | version |
| const int | size |
| const Ecc & | errorCorrectionLevel |
Definition at line 41 of file QrCode.hpp.
Definition at line 109 of file QrCode.cpp.
Definition at line 133 of file QrCode.cpp.
|
static |
|
static |
Definition at line 58 of file QrCode.cpp.


|
static |
Definition at line 45 of file QrCode.cpp.


| int getMask | ( | ) | const |
Definition at line 153 of file QrCode.cpp.
| int getModule | ( | int | x, |
| int | y ) const |
Definition at line 158 of file QrCode.cpp.
| std::string toSvgString | ( | int | border | ) | const |
Definition at line 166 of file QrCode.cpp.
| const Ecc& errorCorrectionLevel |
Definition at line 112 of file QrCode.hpp.
| const int size |
Definition at line 109 of file QrCode.hpp.
| const int version |
Definition at line 105 of file QrCode.hpp.