cryptnox-sdk-esp32 1.0.0
ESP32 SDK for Cryptnox Hardware Wallet
Loading...
Searching...
No Matches
ESP32Logger.h File Reference

CW_Logger implementation that writes to ESP32 UART0 via printf. More...

#include "CW_Logger.h"
Include dependency graph for ESP32Logger.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ESP32Logger
 CW_Logger backed by ESP32 UART0. More...

Detailed Description

CW_Logger implementation that writes to ESP32 UART0 via printf.

ESP32Logger maps every CW_Logger virtual method to the ESP-IDF uart_write_bytes / printf family so the platform-independent SDK core can produce human-readable diagnostic output on the serial console without depending on Arduino's Serial object.

Usage
ESP32Logger logger;
logger.begin(115200UL);
CryptnoxWallet wallet(transport, logger, crypto, platform);
CW_Logger backed by ESP32 UART0.
Definition ESP32Logger.h:48
bool begin(unsigned long baudRate=115200UL) override
Initialise UART0 at the given baud rate.

Definition in file ESP32Logger.h.