|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Arduino compatibility shims for non-Arduino (plain C++) builds. More...
#include <stdint.h>#include <stddef.h>#include <string.h>#include <stdbool.h>Go to the source code of this file.
Classes | |
| class | __FlashStringHelper |
Macros | |
| #define | DEC 10 |
| #define | HEX 16 |
| #define | OCT 8 |
| #define | BIN 2 |
| #define | F(string_literal) |
Arduino compatibility shims for non-Arduino (plain C++) builds.
Include this file instead of <Arduino.h> in platform-independent headers. When building for Arduino, ARDUINO is already defined by the toolchain and this file is a no-op — Arduino.h has already provided all these definitions. When building outside Arduino (desktop, ESP-IDF, CI) this file provides the minimum set of defines/types needed so the SDK headers compile cleanly.
Definition in file platform_compat.h.
| #define BIN 2 |
Definition at line 37 of file platform_compat.h.
| #define DEC 10 |
Definition at line 34 of file platform_compat.h.
Referenced by ArduinoLoggerAdapter::operator=(), CW_Logger::print(), CW_Logger::print(), CW_Logger::print(), CW_Logger::print(), NullLoggerAdapter::print(), NullLoggerAdapter::print(), NullLoggerAdapter::print(), NullLoggerAdapter::print(), CW_Logger::println(), CW_Logger::println(), CW_Logger::println(), CW_Logger::println(), NullLoggerAdapter::println(), NullLoggerAdapter::println(), NullLoggerAdapter::println(), and NullLoggerAdapter::println().
| #define F | ( | string_literal | ) |
Definition at line 42 of file platform_compat.h.
Referenced by CW_SecureChannel::aesCbcDecrypt(), CW_SecureChannel::aesCbcEncrypt(), CW_SecureChannel::checkStatusWord(), CryptnoxWallet::connect(), CryptnoxWallet::debugPrintSignature(), determineYParity(), encodeERC20Transfer(), CryptnoxWallet::establishSecureChannel(), CryptnoxWallet::extractRawSignature(), fetchNonce(), CW_SecureChannel::getCardCertificate(), CryptnoxWallet::getCardInfo(), CW_SecureChannel::getManufacturerCertificate(), loop(), CW_SecureChannel::mutuallyAuthenticate(), CW_SecureChannel::openSecureChannel(), PN532Adapter::printFirmwareVersion(), printHex(), rlpEncodeTxBody(), CW_SecureChannel::selectApdu(), PN532Adapter::sendAPDU(), PN532Adapter::sendAPDULarge(), sendRawTx(), CryptnoxWallet::sendSignApdu(), setup(), CryptnoxWallet::validateSignRequest(), CW_SecureChannel::verifyCertificateChain(), CryptnoxWallet::verifyPin(), and CryptnoxWallet::writeUserData().
| #define HEX 16 |
Definition at line 35 of file platform_compat.h.
Referenced by CW_SecureChannel::aesCbcDecrypt(), CW_SecureChannel::aesCbcEncrypt(), CW_SecureChannel::checkStatusWord(), CryptnoxWallet::debugPrintSignature(), CryptnoxWallet::establishSecureChannel(), loop(), PN532Adapter::printFirmwareVersion(), PN532Adapter::sendAPDU(), PN532Adapter::sendAPDULarge(), and setup().
| #define OCT 8 |
Definition at line 36 of file platform_compat.h.