Constants and Enumerations
This section documents all constants and enumerations used throughout PyTropicSquare, including protocol constants, status codes, and configuration values.
Constant Categories
ECC (Elliptic Curve Cryptography) constants for TropicSquare library. |
|
TropicSquare Factory Pairing Keys |
|
Config registry addresses - public API |
Usage
Constants are typically accessed directly from their respective modules:
from tropicsquare.constants import chip_status, cmd_result
if status == chip_status.ChipStatus.READY:
print("Chip is ready")