cryptnox-pos 1.0.0
Standalone USDC payment terminal firmware (ESP32 + Cryptnox smart card)
Loading...
Searching...
No Matches
Device services

Wi-Fi / SNTP bring-up and persistent NVS settings. More...

Files

file  main/addr_check.h
 Structural address checks for the config portal.
file  main/assets.h
 What each selectable asset IS — one row per pos_chain_t.
file  main/card_status.h
 What a tapped card is missing, read from its SELECT response.
file  main/civil_time.h
 TZ-independent calendar arithmetic and date-string parsing.
file  main/form_parse.h
 application/x-www-form-urlencoded field extraction.
file  main/json_out.h
 Escaping for values the config portal puts inside a JSON string.
file  main/net.h
 Network bring-up: Wi-Fi station (init/scan/connect/RSSI) and SNTP time sync. No application-protocol logic lives here — the Ethereum JSON-RPC client is in eth_rpc.h.
file  main/ota.h
 Firmware slot handling: receive an image into the idle slot, verify it, and install it only once somebody accepts it on the panel.
file  main/ota_version.h
 Dotted version comparison, for deciding whether an update goes forwards or backwards.
file  main/provision.h
 The config portal: one web app for setting a terminal up and for administering it afterwards, in two modes.
file  main/settings.h
 Persistent device settings stored in NVS (backlight, Wi-Fi creds).
file  main/settings_rules.h
 What a setting may be, apart from where it is stored.
file  main/wdt.h
 Task-watchdog feed that is safe to call from any task.

Detailed Description

Wi-Fi / SNTP bring-up and persistent NVS settings.

Platform plumbing with no application-protocol logic: network station management and time sync (net.h), and the NVS-backed settings store (settings.h).