|
cryptnox-sdk-arduino 1.0.0
Arduino library for Cryptnox Hardware Wallet
|
Abstract interface for platform-specific operations used by the SDK. More...
#include <CW_Platform.h>
Public Member Functions | |
| virtual void | sleep_ms (uint32_t ms)=0 |
Block for at least ms milliseconds. | |
| virtual | ~CW_Platform () |
Abstract interface for platform-specific operations used by the SDK.
Decouples the SDK core from any specific RTOS or bare-metal delay mechanism, allowing the same SDK to run on ESP32 (FreeRTOS), Arduino, and hosted (Linux/macOS) test environments.
Definition at line 39 of file CW_Platform.h.
|
inlinevirtual |
Definition at line 48 of file CW_Platform.h.
|
pure virtual |
Block for at least ms milliseconds.
| [in] | ms | Duration to sleep in milliseconds. |
Implemented in ArduinoPlatform, and StubPlatform.