diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..69b47b5 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.bat text eol=crlf diff --git a/.github/workflows/firmware.yml b/.github/workflows/firmware.yml new file mode 100644 index 0000000..2c7dcf4 --- /dev/null +++ b/.github/workflows/firmware.yml @@ -0,0 +1,44 @@ +# Firmware checks on every PR and push to main: +# - ShellCheck on the tools/ scripts +# - host tests (tests/host): firmware logic run on the computer +# - tools/build-all.sh: every machine type builds, config.h mistakes are rejected +# Testing on a real board (serial log against the staging server) stays manual. +name: Firmware + +on: + pull_request: + push: + branches: [main] + workflow_dispatch: + +jobs: + test: + runs-on: ubuntu-24.04 + timeout-minutes: 60 + env: + ARDUINO_BOARD_MANAGER_ADDITIONAL_URLS: https://espressif.github.io/arduino-esp32/package_esp32_index.json + steps: + - uses: actions/checkout@v4 + + # ShellCheck is preinstalled on the Ubuntu runners + - name: Shell scripts (ShellCheck) + run: git ls-files -z '*.sh' | xargs -0 shellcheck + + - name: Host tests + run: tools/test-host.sh + + - uses: arduino/setup-arduino-cli@v2 + + - name: Cache the ESP32 board package + uses: actions/cache@v4 + with: + path: ~/.arduino15 + key: arduino15-esp32-2.0.17-v1 + + - name: Install ESP32 board package 2.0.17 + run: | + arduino-cli core update-index + arduino-cli core install esp32:esp32@2.0.17 + + - name: Build every machine type, check config.h mistakes are rejected + run: tools/build-all.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc1fa58 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.DS_Store +build/ +*.bin +arduino-cli.exe diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..891bb2c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,198 @@ +# AGENTS.md + +Guide for developers and AI agents working on this repository. `README.md` +is the production team's flashing guide. This file covers how the firmware +works and how to change it safely. + +## Context + +Diva sanitary pad vending machines run on an ESP32 (ESP32 Dev Module) with a +composite-video screen, motors with limit switches, and optional RFID card +reader, bKash QR payment (server side) and cash note acceptor. They talk to +the **VMS server** (repo `HeadlessTech/vms`, see its `AGENTS.md`) over +**MQTT with TLS** through our Mosquitto broker **`iot-mqtt.headless.ltd:8883`** +(repo `HeadlessTech/iot-mqtt`), over a SIM800 GSM modem or Wi-Fi. + +**`All_in_One`** is the one firmware for every live machine: standard sizes +20/40/60/120/160 and the two-group 160 (`MACHINE_TYPE TYPE_TWO_GROUP_160`). +`All_in_One_Weird` is deprecated (merged in). The other folders are older +cash/offline firmwares that upload over HTTP; leave them alone unless asked. + +Machines handle money and people's access to products: keep changes small, +build every configuration, and test on a board before anything is flashed to +a machine. Never change the message formats without the matching VMS change. + +## Layout (`All_in_One/`) + +``` +All_in_One.ino setup(), loop() -> loopStandard() or loopTwoGroup(), buttons, onMqttMessage() +config.h per-machine settings; the ONLY file production edits +config_check.h rejects bad config.h at build time; derives USE_WIFI, IS_DEVELOPMENT, HAS_*_MODULE, IS_TWO_GROUP +broker.h broker address and the machines' shared login ("vms"); password at the top +version.h FIRMWARE_VERSION; FW_VERSION is sent in the "online" status +IoT_Root_CA.h BearSSL trust anchors: our main + backup CA (generated in iot-mqtt) +Client.h pickBestClient(): network up, then initializeSSL(); transport watchdog +GsmClient.h SIM800 via TinyGSM on Serial2 (APN "INTERNET") +WifiClient.h Wi-Fi station (WIFI_SSID / WIFI_PASSWORD from config.h) +SSL.h SSLClient (BearSSL) over the GSM or Wi-Fi client +MQTT.h PubSubClient: connect (LWT, cleanSession=false), status, publish, recovery/reboot +RequestsResponse.h sync and dispense requests; handleDispenseResponse(), handleSyncResponse() +Dispense.h motor and limit-switch wiring per machine type; runs the motors +FeatureCash.h cash note acceptor (pulse counting) +Global.h state machine, pending request, NVS-saved history of dispense numbers, two-group state +display.h screen: layout, displayInit(), showImage(), idle screen +display_*.h/.cpp composite video driver (DAC on GPIO 25) and graphics, adapted +i_*.h 168x124 screen images (and the 220x47 logo), 8-bit pixels in flash +src/ the libraries, copied in by tools/vendor-libraries.sh (don't edit by hand) +``` + +`tools/`: `build-all.sh` (build every configuration + config checks), +`build.sh` (build/flash/monitor, macOS/Linux), `vendor-libraries.sh` +(library upgrades). `flash.bat`: production flashing on Windows. + +## Building and testing + +```bash +tools/test-host.sh # firmware logic on the computer (dispense-number history, state) +tools/build-all.sh # before every commit: all machine types + 13 config.h mistakes +tools/build-all.sh --quick # one build per machine type + the checks +tools/build.sh -p /dev/cu.usbserial-XXXX -m # flash a test board and watch the log +``` + +GitHub Actions (`.github/workflows/firmware.yml`) runs ShellCheck on the +`tools/` scripts, the host tests and `tools/build-all.sh` on every PR and push +to `main`. Host tests live in +`tests/host/` with small stand-ins for the ESP32 APIs in `tests/host/stubs/`; +add one there when you change logic that can run without the board. + +- ESP32 board package **2.0.17** exactly (`config_check.h` enforces it); + board `esp32:esp32:esp32` with default options. +- Libraries are in `All_in_One/src` (ArduinoJson 7.4.3, MultiButton 1.3.0, + PubSubClient 2.8, Rdm6300 2.0.0, SSLClient 1.6.11, TinyGSM 0.12.0). Includes + use `"src//..."`. To upgrade, run `tools/vendor-libraries.sh`, which + also re-applies our one patch (below) and fails if it no longer fits. +- Verification: host tests pass, every configuration builds, then a board + test with serial output against the staging server (`SERVER_STAGING`, + `vms-new.headless.ltd`, `/dev` topics). The VMS repo's integration tests + play a machine with exactly this firmware's messages (its contract tests). + Say in your summary what was built and tested and what still needs the board. + +## Configuration (config.h -> config_check.h) + +Production sets values in `config.h`; `config_check.h` refuses missing, +misspelled or conflicting settings with a message naming the setting, then +derives the switches the code uses (`USE_WIFI`, `IS_DEVELOPMENT` = staging, +`HAS_RFID_MODULE`, `HAS_BKASH_MODULE`, `HAS_CASH_MODULE`, `IS_TWO_GROUP`). +Never set the derived switches by hand (it's rejected). When you add a +setting: add it to `config.h` with a comment, check it in `config_check.h`, +print it in the boot log, add a case to `tools/build-all.sh`, and document it +in `README.md`. + +## Server contract (don't change without VMS) + +Topics, with `/dev` appended on the staging server; client ID = machine ID, +login `vms` (the broker only allows a machine its own topics): + +| Topic | Direction | Messages | +|---|---|---| +| `vms//pub` | machine -> server | `{"info":"sync"}`, `{"info":"sync","dispenseNo":N}` (confirms a dispense), `{"info":"dispense","rfid":""}` (no `rfid` = cash), plus `"size":"BELT"/"PANTY"` on two-group | +| `vms//sub` | server -> machine | dispense: `{"info":"dispense","status":200,"row","column" or "columns":[..],"dispenseNo","type":"bkash"?}` or an error status; sync: `{"info":"sync","status":200,"count":N,"stock":{sizeId:n}?}` | +| `vms//status` | machine -> server | `{"message":"online","fw":"2.0.0 STD ..."}` every 30 s; last will `{"message":"offline"}` | +| `vms//ping` | both | server sends `ping` (bKash checkout), machine answers `pong` | + +Dispense statuses: 200 dispense, 400 unauthorized, 402 card blocked, +403 limit crossed, 404 no stock or size, 405 not enough points. + +## How it works + +- **Boot:** config banner, display, saved dispense history (NVS), network, + TLS, MQTT connect (`cleanSession=false`, LWT), subscribe `sub` + `ping`, + sync, idle screen. +- **Loop:** status every 30 s, sync every 90 s (and every 30 s while out of + stock), pong when pinged, buttons, card reader, timeouts. Restart after 42 + days of uptime when idle. +- **Card/cash dispense:** the machine publishes a request and waits (25 s, + then "try again"; a late reply still dispenses). The server answers 200 with + a `dispenseNo` and resends the command until confirmed. + `handleDispenseResponse()` saves the number first (NVS ring of 100), runs + the motors, then confirms with `{"info":"sync","dispenseNo":N}`. A number + already in the history is ignored, so redeliveries never dispense twice. +- **bKash:** the server sends the dispense command (`"type":"bkash"`) after + payment; same handling. +- **Two-group:** a button chooses BELT or PANTY (state `AWAITING_RFID`, 15 s), + then the card; the request carries `size`. Per-group stock comes from the + sync reply. +- **Recovery:** most failures (publish failed, transport lost, preflight + timeout) reboot the ESP32 on purpose: broken TLS sessions in SSLClient + could not be recovered in place. After 4 failed MQTT attempts it reboots too. +- **Known fragility:** the dispense runs inside PubSubClient's message + callback, and the motor loop calls `mqtt.loop()` again from there. It works + with PubSubClient 2.8 (the dispense-number history prevents double + dispensing) but don't build more on it. + +## Memory (the main constraint) + +Heap is about 300 KB at boot. Budget, roughly: display ~60 KB (one buffer +holding only the drawn rows: logo + one 168x124 image; the rest of the screen +shares one black row), Wi-Fi stack ~55 KB on Wi-Fi machines, SSLClient 8.6 KB +(BearSSL with a 2 KB record buffer). `initializeSSL()` reboots below 55 KB +free. The boot log prints free heap before/after the display and TLS. + +- All screen images must be exactly 168x124 (checked at build time); they're + drawn in the image area only when the picture changes. Drawing anywhere + else lands in an invisible scratch row (see `CompositeGraphics::init`). +- Flash: the Wi-Fi build is at about 92% of the 1.25 MB app partition. The + images are uncompressed (21 KB each); compress them before adding features + that need more flash (e.g. remote updates). +- Avoid heap churn: fixed buffers for messages, no `String` building in hot + paths, `printf` lines under 64 characters (longer ones allocate). + +## TLS + +- BearSSL via SSLClient over the GSM or Wi-Fi client. Its 2 KB buffer works + because the broker honours the TLS "max fragment length" extension + (checked: 512 and 2048 accepted). +- Trust anchors: our main and backup CA (valid 2020-2050). The broker + certificate is valid 2020-2045. BearSSL checks certificate dates against + the **build date** (no clock on the board): any build from 2020 on works + until 2045. When the broker certificate is renewed, keep a start date in + the past (iot-mqtt `scripts/make-ca.sh` does). +- **Our patch to SSLClient** (`tools/vendor-libraries.sh`): the TLS random + generator is seeded from the ESP32 hardware RNG. Upstream reads an analog + pin; the firmware used to pass A5 = GPIO 33, the column-6 motor pin. + Never pass a pin that's in use. + +## Pins + +| GPIO | Standard | Two-group 160 | +|---|---|---| +| 23, 22, 4, 2, 32, 33, 26, 27 | motors, columns 1-8 | motors: col 1 = 23+22, col 2 = 4+2, cols 3-6 = 32, 33, 26, 27 | +| 21, 19, 18, 13 | limit switches (20-60: one per column; 120/160: shared by column pairs) | limit switches of cols 1 and 2 (two each) | +| 34, 35 | 35 = cash acceptor pulses (if cash) | limit switches cols 3-4 (34) and 5-6 (35); no internal pull-ups, the board needs resistors | +| 14 | cash acceptor enable | - | +| 39, 36 | cash button, reset button (sync; long press reconnect) | top (BELT) and bottom (PANTY) buttons | +| 5 | RFID reader (Serial1 RX) | same | +| 16, 17 | SIM800 modem (Serial2) | same | +| 25 | composite video (DAC) | same | + +## Gotchas + +- Machine ID = MQTT client ID = topic part. It must match the VMS dashboard. +- Two machines with the same ID knock each other off the broker. +- Two-group stock in VMS must have columns 1-2 as `BELT` and 3-6 as `PANTY`, + matching the wiring, or a PANTY order runs a BELT motor. +- `broker.h` holds the shared machine password (committed on purpose: every + machine carries it in flash anyway). Changing it means reflashing every + machine. +- The code uses ArduinoJson 6-style calls (`StaticJsonDocument`, + `containsKey`) on ArduinoJson 7: deprecation warnings are expected. +- `flash.bat` must keep Windows line endings (`.gitattributes`). + +## Open questions (hardware team) + +- Motor timeout: when a limit switch doesn't trigger in 8-10 s the motor is + stopped but the dispense is still confirmed to the server (points and stock + deducted, bKash not refunded). Is a timeout a jam (no product) or a switch + fault (product out)? Reporting it needs a VMS change. +- Cash: pulses per ten-taka note (the code dispenses at 25 pulses). +- Two-group board: pull-up resistors on GPIO 34 and 35. diff --git a/All_in_One/AWS_Root_CA.h b/All_in_One/AWS_Root_CA.h deleted file mode 100644 index c47010f..0000000 --- a/All_in_One/AWS_Root_CA.h +++ /dev/null @@ -1,72 +0,0 @@ -// AWS_Root_CA.h -#pragma once - -#ifdef __cplusplus -extern "C" -{ -#endif - -/* This file is auto-generated by the pycert_bearssl tool. Do not change it manually. - * Certificates are BearSSL br_x509_trust_anchor format. Included certs: - * - * Index: 0 - * Label: Amazon Root CA 1 - * Subject: CN=Amazon Root CA 1,O=Amazon,C=US - */ - -#define TAs_NUM 1 - -static const unsigned char TA_DN0[] = { - 0x30, 0x39, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, - 0x02, 0x55, 0x53, 0x31, 0x0f, 0x30, 0x0d, 0x06, 0x03, 0x55, 0x04, 0x0a, - 0x13, 0x06, 0x41, 0x6d, 0x61, 0x7a, 0x6f, 0x6e, 0x31, 0x19, 0x30, 0x17, - 0x06, 0x03, 0x55, 0x04, 0x03, 0x13, 0x10, 0x41, 0x6d, 0x61, 0x7a, 0x6f, - 0x6e, 0x20, 0x52, 0x6f, 0x6f, 0x74, 0x20, 0x43, 0x41, 0x20, 0x31, -}; - -static const unsigned char TA_RSA_N0[] = { - 0xb2, 0x78, 0x80, 0x71, 0xca, 0x78, 0xd5, 0xe3, 0x71, 0xaf, 0x47, 0x80, - 0x50, 0x74, 0x7d, 0x6e, 0xd8, 0xd7, 0x88, 0x76, 0xf4, 0x99, 0x68, 0xf7, - 0x58, 0x21, 0x60, 0xf9, 0x74, 0x84, 0x01, 0x2f, 0xac, 0x02, 0x2d, 0x86, - 0xd3, 0xa0, 0x43, 0x7a, 0x4e, 0xb2, 0xa4, 0xd0, 0x36, 0xba, 0x01, 0xbe, - 0x8d, 0xdb, 0x48, 0xc8, 0x07, 0x17, 0x36, 0x4c, 0xf4, 0xee, 0x88, 0x23, - 0xc7, 0x3e, 0xeb, 0x37, 0xf5, 0xb5, 0x19, 0xf8, 0x49, 0x68, 0xb0, 0xde, - 0xd7, 0xb9, 0x76, 0x38, 0x1d, 0x61, 0x9e, 0xa4, 0xfe, 0x82, 0x36, 0xa5, - 0xe5, 0x4a, 0x56, 0xe4, 0x45, 0xe1, 0xf9, 0xfd, 0xb4, 0x16, 0xfa, 0x74, - 0xda, 0x9c, 0x9b, 0x35, 0x39, 0x2f, 0xfa, 0xb0, 0x20, 0x50, 0x06, 0x6c, - 0x7a, 0xd0, 0x80, 0xb2, 0xa6, 0xf9, 0xaf, 0xec, 0x47, 0x19, 0x8f, 0x50, - 0x38, 0x07, 0xdc, 0xa2, 0x87, 0x39, 0x58, 0xf8, 0xba, 0xd5, 0xa9, 0xf9, - 0x48, 0x67, 0x30, 0x96, 0xee, 0x94, 0x78, 0x5e, 0x6f, 0x89, 0xa3, 0x51, - 0xc0, 0x30, 0x86, 0x66, 0xa1, 0x45, 0x66, 0xba, 0x54, 0xeb, 0xa3, 0xc3, - 0x91, 0xf9, 0x48, 0xdc, 0xff, 0xd1, 0xe8, 0x30, 0x2d, 0x7d, 0x2d, 0x74, - 0x70, 0x35, 0xd7, 0x88, 0x24, 0xf7, 0x9e, 0xc4, 0x59, 0x6e, 0xbb, 0x73, - 0x87, 0x17, 0xf2, 0x32, 0x46, 0x28, 0xb8, 0x43, 0xfa, 0xb7, 0x1d, 0xaa, - 0xca, 0xb4, 0xf2, 0x9f, 0x24, 0x0e, 0x2d, 0x4b, 0xf7, 0x71, 0x5c, 0x5e, - 0x69, 0xff, 0xea, 0x95, 0x02, 0xcb, 0x38, 0x8a, 0xae, 0x50, 0x38, 0x6f, - 0xdb, 0xfb, 0x2d, 0x62, 0x1b, 0xc5, 0xc7, 0x1e, 0x54, 0xe1, 0x77, 0xe0, - 0x67, 0xc8, 0x0f, 0x9c, 0x87, 0x23, 0xd6, 0x3f, 0x40, 0x20, 0x7f, 0x20, - 0x80, 0xc4, 0x80, 0x4c, 0x3e, 0x3b, 0x24, 0x26, 0x8e, 0x04, 0xae, 0x6c, - 0x9a, 0xc8, 0xaa, 0x0d, -}; - -static const unsigned char TA_RSA_E0[] = { - 0x01, 0x00, 0x01, -}; - -static const br_x509_trust_anchor TAs[] = { - { - { (unsigned char *)TA_DN0, sizeof TA_DN0 }, - BR_X509_TA_CA, - { - BR_KEYTYPE_RSA, - { .rsa = { - (unsigned char *)TA_RSA_N0, sizeof TA_RSA_N0, - (unsigned char *)TA_RSA_E0, sizeof TA_RSA_E0, - } } - } - }, -}; - -#ifdef __cplusplus -} /* extern "C" */ -#endif diff --git a/All_in_One/All_in_One.ino b/All_in_One/All_in_One.ino index a8d1f3d..cb6f53a 100644 --- a/All_in_One/All_in_One.ino +++ b/All_in_One/All_in_One.ino @@ -1,21 +1,13 @@ -// comment this line on production -// #define IS_DEVELOPMENT +// Diva vending machine firmware, for every machine type. +// Per-machine settings are in config.h (the only file to edit per machine). +#include "config.h" +#include "config_check.h" -// comment this line when using GSM -// #define USE_WIFI - -#define MACHINE_ID "BAIO20" -#define MACHINE_SIZE 20 - -#define HAS_BKASH_MODULE -#define HAS_RFID_MODULE -#define HAS_CASH_MODULE - -#include -#include +#include "src/ArduinoJson/ArduinoJson.h" +#include "src/MultiButton/PinButton.h" #if defined(HAS_RFID_MODULE) -#include +#include "src/Rdm6300/rdm6300.h" Rdm6300 rdm6300; #endif @@ -29,8 +21,13 @@ Rdm6300 rdm6300; #endif #include "display.h" -PinButton pushButton(GPIO_NUM_39); -PinButton resetButton(GPIO_NUM_36); +#if IS_TWO_GROUP +PinButton topButton(GPIO_NUM_39); // chooses the BELT group +PinButton bottomButton(GPIO_NUM_36); // chooses the PANTY group +#else +PinButton pushButton(GPIO_NUM_39); // cash: start accepting a note +PinButton resetButton(GPIO_NUM_36); // sync now; long press: reconnect +#endif uint32_t lastRfidTag = 0; unsigned long lastRfidTime = 0; @@ -40,6 +37,112 @@ const unsigned long RFID_DEBOUNCE_MS = 5000; static bool pongPending = false; // toggled by onMQTT handler +#if IS_TWO_GROUP + +// A group button chooses the group (the customer then taps the card within +// GROUP_RFID_TIMEOUT_MS). Staging builds: long press top = reconnect, +// long press bottom = sync. +void checkTopButton() { + // In dual-group mode, push button (GPIO39) = Top group selector + topButton.update(); + +#if defined(IS_DEVELOPMENT) + if (topButton.isLongClick() == 1) { + // Long-press = sync/reconnect (replaces dedicated reset button) + showImage(connecting_t); + Serial.println("Long pressed top button - reconnect"); + pickBestClient(); + setupMqtt(); + sendSyncRequest(false); + return; + } +#endif + + if (topButton.isSingleClick() == 1) { + GLOBAL_STATE currState; + getGlobalState(currState); + DispenseRequest currentDispReq; + getDispenseRequest(currentDispReq); + if (currState == GLOBAL_STATE::IDLE && !currentDispReq.isExpectingResponse) { + Serial.println("Top button pressed - selecting top group"); + // Check local per-size stock before entering AWAITING_RFID + if (getStockForSize(SIZE_BELT) == 0 && sizeStock.belt == 0 && sizeStock.panty == 0) { + // could be sizeStock not populated yet (first sync); let it through + } else if (getStockForSize(SIZE_BELT) == 0) { + Serial.println("BELT stock empty - showing refill"); + showImage(refill_t); + delay(2000U); + showImage(pushBtnOrScanQR_t); + return; + } + flushRfidReader(); + selectedGroup = SIZE_BELT; + groupSelectedAt = millis(); + setGlobalState(GLOBAL_STATE::AWAITING_RFID); + showImage(holdRfid_t); + } else if (currState == GLOBAL_STATE::AWAITING_RFID) { + // Switch group selection while already waiting + Serial.println("Switching to top group"); + selectedGroup = SIZE_BELT; + groupSelectedAt = millis(); + } + } +} + +void checkBottomButton() { + bottomButton.update(); + +#if defined(IS_DEVELOPMENT) + if (bottomButton.isLongClick() == 1) { + // Long-press = sync request + Serial.println("Long pressed bottom button - sync"); + sendSyncRequest(false); + return; + } +#endif + + if (bottomButton.isSingleClick() == 1) { + GLOBAL_STATE currState; + getGlobalState(currState); + DispenseRequest currentDispReq; + getDispenseRequest(currentDispReq); + if (currState == GLOBAL_STATE::IDLE && !currentDispReq.isExpectingResponse) { + Serial.println("Bottom button pressed - selecting bottom group"); + // Check local per-size stock before entering AWAITING_RFID + if (getStockForSize(SIZE_PANTY) == 0 && sizeStock.belt == 0 && sizeStock.panty == 0) { + // could be sizeStock not populated yet (first sync); let it through + } else if (getStockForSize(SIZE_PANTY) == 0) { + Serial.println("PANTY stock empty - showing refill"); + showImage(refill_t); + delay(2000U); + showImage(pushBtnOrScanQR_t); + return; + } + flushRfidReader(); + selectedGroup = SIZE_PANTY; + groupSelectedAt = millis(); + setGlobalState(GLOBAL_STATE::AWAITING_RFID); + showImage(holdRfid_t); + } else if (currState == GLOBAL_STATE::AWAITING_RFID) { + // Switch group selection while already waiting + Serial.println("Switching to bottom group"); + selectedGroup = SIZE_PANTY; + groupSelectedAt = millis(); + } + } +} + +void checkButtons() { + checkTopButton(); + checkBottomButton(); +} + +void checkButtonsWhileConnecting() { + checkButtons(); +} + +#else // standard machines + void checkPushButton() { #ifdef HAS_CASH_MODULE pushButton.update(); @@ -79,6 +182,12 @@ void checkResetButton() { } } +void checkButtonsWhileConnecting() { + checkResetButton(); +} + +#endif // IS_TWO_GROUP + unsigned long monitorStart = millis(); unsigned long monitorInterval = 15000UL; @@ -116,47 +225,21 @@ void setup() { delay(500); - // ---- Build config (one-shot boot log) ---- + // ---- Configuration from config.h (one-shot boot log) ---- Serial.println(); Serial.println("========================================"); + Serial.printf("Firmware: %s\n", FW_VERSION); Serial.printf("Machine ID: %s\n", MACHINE_ID); + Serial.printf("Machine type: %s\n", IS_TWO_GROUP ? "TWO_GROUP_160" : "STANDARD"); Serial.printf("Machine size: %d\n", MACHINE_SIZE); - Serial.printf("Build mode: %s\n", -#ifdef IS_DEVELOPMENT - "DEVELOPMENT" -#else - "PRODUCTION" -#endif - ); - Serial.printf("Network: %s\n", #ifdef USE_WIFI - "WIFI" + Serial.printf("Network: WIFI (%s)\n", WIFI_SSID); #else - "GSM" + Serial.println("Network: GSM"); #endif - ); - Serial.println("Modules:"); - Serial.printf(" RFID: %s\n", -#ifdef HAS_RFID_MODULE - "ENABLED" -#else - "disabled" -#endif - ); - Serial.printf(" BKASH: %s\n", -#ifdef HAS_BKASH_MODULE - "ENABLED" -#else - "disabled" -#endif - ); - Serial.printf(" CASH: %s\n", -#ifdef HAS_CASH_MODULE - "ENABLED" -#else - "disabled" -#endif - ); + Serial.printf("Server: %s\n", SERVER == SERVER_STAGING ? "STAGING (/dev topics)" : "PRODUCTION"); + Serial.printf("Modules: RFID %s, BKASH %s, CASH %s\n", HAS_RFID ? "yes" : "no", + HAS_BKASH ? "yes" : "no", HAS_CASH ? "yes" : "no"); delay(200U); Serial.printf("CPU Freq: %d MHz\n", getCpuFrequencyMhz()); @@ -185,8 +268,9 @@ void setup() { delay(100U); - composite.init(); - graphics.init(); + Serial.printf("Free heap before display: %u\n", (unsigned)ESP.getFreeHeap()); + displayInit(); + Serial.printf("Free heap after display: %u\n", (unsigned)ESP.getFreeHeap()); showImage(welcome_t); delay(2000U); @@ -204,7 +288,7 @@ void setup() { delay(50U); while (!establishMqttConnection()) { - checkResetButton(); + checkButtonsWhileConnecting(); } sendSyncRequest(false); @@ -229,7 +313,188 @@ void setup() { } -void loop() { +#if IS_TWO_GROUP + +// Two-group 160 machine (from All_in_One_Weird): a group button, then the card. +void loopTwoGroup() { + monitorHealth(); + + pickBestClientInLoop(); + + if (!mqtt.connected()) { + showImage(connecting_t); + + setGlobalState(GLOBAL_STATE::CONNECT); + Serial.println("MQTT not connected"); + while (!establishMqttConnection()) { + checkButtons(); + if (globalData.mqttReconnectAttempts >= 3) { + pickBestClient(); + } + monitorHealth(); + } + + #if defined(HAS_RFID_MODULE) + // Flush any tags the reader buffered while we were stuck reconnecting and + // reset the debounce, without ending/beginning the reader (which leaks a + // HardwareSerial on every call in this library). + flushRfidReader(); + #endif + return; + } + + mqtt.loop(); + + if (pongPending) { + drainInbound(); + // server asked with a ping, send a pong to server + Serial.printf("Sending pong to %s\n", pingTOPIC); + mqtt.publish(pingTOPIC, "pong"); + mqtt.loop(); + pongPending = false; + } + + sendCurrentStatusInLoop(); + + if (!globalData.hasStock) { + // Non-blocking empty-stock wait. Enter EMPTY_STOCK once (showImage is + // expensive) and keep the outer loop alive so monitorHealth, + // pickBestClientInLoop, RFID, and push buttons paths all still run. + // Auto re-request stock every 30s so the device recovers without a + // reset-button press when the server restocks + GLOBAL_STATE refillState; + getGlobalState(refillState); + if (refillState != GLOBAL_STATE::EMPTY_STOCK) { + setGlobalState(GLOBAL_STATE::EMPTY_STOCK); + showImage(refill_t); + } + + mqtt.loop(); + checkButtons(); + sendCurrentStatusInLoop(); + + static unsigned long lastRefillSyncAt = 0UL; + if (millis() - lastRefillSyncAt > 30000U) { + sendSyncRequest(false); + lastRefillSyncAt = millis(); + } + } else { + // we got stock ! + + GLOBAL_STATE currState; + getGlobalState(currState); + + DispenseRequest currentDispReq; + getDispenseRequest(currentDispReq); + + if (currState == GLOBAL_STATE::IDLE && !currentDispReq.isExpectingResponse) { + showImage(pushBtnOrScanQR_t); + } + + // check for push button (cash/group selection) + checkButtons(); + +#if defined(HAS_CASH_MODULE) + // Cash flow can block for a while and mutate both state and pending + // request tracking. Refresh before making RFID/timeout decisions. + getGlobalState(currState); + getDispenseRequest(currentDispReq); +#endif + + // --- Dual-group mode: button press → AWAITING_RFID → RFID tap → dispense --- + if (currState == GLOBAL_STATE::AWAITING_RFID) { + if (millis() - groupSelectedAt > GROUP_RFID_TIMEOUT_MS) { + // timed out + Serial.println("Group selection timeout - returning to idle"); + flushRfidReader(); + selectedGroup = nullptr; + setGlobalState(GLOBAL_STATE::IDLE); + showImage(pushBtnOrScanQR_t); + } else if (currentDispReq.isExpectingResponse) { + // Awaiting server response: keep MQTT alive and watch for timeout. + // RFID is intentionally not read here; a held card must not + // re-trigger after the debounce expires while a request is pending + mqtt.loop(); + getDispenseRequest(currentDispReq); + + // give up gracefully after 25s instead of rebooting. + // the broker (cleanSession=false) still holds the queued response; + // when it arrives later, handleDispenseResponse will run the motor + // and the NVS-persisted dedup history prevents a double-dispense. + if (currentDispReq.isExpectingResponse && millis() - currentDispReq.requestedAt > 25000U) { + Serial.println("Dispense response timed out - giving up gracefully (no reboot)"); + currentDispReq.isExpectingResponse = false; + currentDispReq.requestedAt = 0; + setDispenseRequest(currentDispReq); + showImage(tryAgain_t); + delay(2000U); + selectedGroup = nullptr; + setGlobalState(GLOBAL_STATE::IDLE); + } + } +#if defined(HAS_RFID_MODULE) + else if (rdm6300.get_new_tag_id()) { + uint32_t currentTag = rdm6300.get_tag_id(); + + unsigned long currentTime = millis(); + + // Only process if it's a different tag or enough time has passed + if (currentTag != lastRfidTag || + (currentTime - lastRfidTime) > RFID_DEBOUNCE_MS) { + + showImage(rfidProcessing_t); + String rfid = String(currentTag); + Serial.print("RFID read: "); + Serial.println(rfid); + Serial.print("Selected group: "); + Serial.println(selectedGroup); + + // Latch debounce state NOW, before the blocking send call, + // so any re-read that slips through is already gated. + lastRfidTag = currentTag; + lastRfidTime = currentTime; + + if (!sendDispenseRequest(rfid.c_str(), selectedGroup)) { + recoverConnectionOrRestart("rfid dispense publish failed", RecoveryImageMode::DISPENSE_FAIL); + } + selectedGroup = nullptr; + } + } +#endif + } else if (currState == GLOBAL_STATE::IDLE) { + getDispenseRequest(currentDispReq); + if (currentDispReq.isExpectingResponse) { + // A card request is still waiting for the server after the 15 s + // group window ended. As on standard machines: give up after 25 s + // and show "try again" instead of rebooting. A late reply still + // dispenses (the broker keeps it; the saved dispense numbers prevent + // a double dispense). + mqtt.loop(); + if (millis() - currentDispReq.requestedAt > 25000U) { + Serial.println("Dispense response timeout - giving up gracefully (no reboot)"); + currentDispReq.isExpectingResponse = false; + currentDispReq.requestedAt = 0; + setDispenseRequest(currentDispReq); + showImage(tryAgain_t); + delay(2000U); + setGlobalState(GLOBAL_STATE::IDLE); + } + } + } + + // Only return to IDLE if we are not in a transient state + getGlobalState(currState); + if (currState != GLOBAL_STATE::AWAITING_RFID && + currState != GLOBAL_STATE::DISPENSE && + currState != GLOBAL_STATE::SYNC) { + setGlobalState(GLOBAL_STATE::IDLE); + } + } +} + +#else // standard machines + +void loopStandard() { monitorHealth(); pickBestClientInLoop(); @@ -366,6 +631,16 @@ void loop() { } } +#endif // IS_TWO_GROUP + +void loop() { +#if IS_TWO_GROUP + loopTwoGroup(); +#else + loopStandard(); +#endif +} + void onMqttMessage(char* topic, byte* message, unsigned int len) { char msg[len + 1]; @@ -381,7 +656,7 @@ void onMqttMessage(char* topic, byte* message, unsigned int len) { return; } - StaticJsonDocument<192> mqttDoc; + StaticJsonDocument<256> mqttDoc; deserializeJson(mqttDoc, msg); diff --git a/All_in_One/Dispense.h b/All_in_One/Dispense.h index ee09533..00c68d1 100644 --- a/All_in_One/Dispense.h +++ b/All_in_One/Dispense.h @@ -12,10 +12,111 @@ constexpr int motorPins[8] = { GPIO_NUM_32, GPIO_NUM_33, GPIO_NUM_26, GPIO_NUM_27, }; +#if IS_TWO_GROUP +// Two-group 160 machine: 6 limit switches +// Col 1 (BELT): motor1(23) + motor2(22) -> limit1(21) + limit2(19) +// Col 2 (BELT): motor3(4) + motor4(2) -> limit3(18) + limit4(13) +// Col 3 (PANTY): motor5(32) -> limit5(34) +// Col 4 (PANTY): motor6(33) -> limit5(34) +// Col 5 (PANTY): motor7(26) -> limit6(35) +// Col 6 (PANTY): motor8(27) -> limit6(35) +// GPIO 34 and 35 have no internal pull-up (INPUT_PULLUP does nothing there), +// so the board must have pull-up resistors on them. GPIO 35 is the cash +// acceptor's input on standard machines, so this machine has no cash. +constexpr int motorLimitSwitches[6] = { + GPIO_NUM_21, GPIO_NUM_19, + GPIO_NUM_18, GPIO_NUM_13, + GPIO_NUM_34, GPIO_NUM_35, +}; +#else +// Standard machines: up to 60 (1-3 columns), each column has its own limit +// switch; 120 and 160 (6 or 8 columns), columns share them in pairs +// (1-2, 3-4, 5-6, 7-8). See dispenseProcess(). constexpr int motorLimitSwitches[4] = { GPIO_NUM_21, GPIO_NUM_19, GPIO_NUM_18, GPIO_NUM_13 }; +#endif + +#if IS_TWO_GROUP + +// NORMAL dispense: single motor, single limit switch (with timeout) +void dispenseNormal(int m, int l) { + digitalWrite(m, HIGH); + Serial.printf("Motor Pin: %d\nLimit switch: %d\n", m, l); + + delay(1000U); // wait for motor to get out of rotation sensor first + + int h = digitalRead(l); + uint32_t dispenseStartMillis = millis(); + + while (h == LOW && millis() - dispenseStartMillis < 10000U) { + delay(25U); + if (_mqttLoopCallback) _mqttLoopCallback(); + h = digitalRead(l); + if (h != LOW) { + digitalWrite(m, LOW); + } + Serial.print(h); + } + + // timeout safety + digitalWrite(m, LOW); + Serial.println(""); +} + +// LARGE dispense: dual motor, dual limit switch (with timeout) +void dispenseLarge(int m1, int m2, int l1, int l2) { + digitalWrite(m1, HIGH); + digitalWrite(m2, HIGH); + delay(1000); // wait for motors to get out of rotation sensor first + + Serial.printf("Motor pins: %d, %d\nLimit switches: %d, %d\n", m1, m2, l1, l2); + + int h0 = digitalRead(l1); + int h1 = digitalRead(l2); + uint32_t dispenseStartMillis = millis(); + + while ((h0 == LOW || h1 == LOW) && (millis() - dispenseStartMillis < 10000U)) { + delay(25U); + if (_mqttLoopCallback) _mqttLoopCallback(); + h0 = digitalRead(l1); + h1 = digitalRead(l2); + + if (h0 != LOW) { + digitalWrite(m1, LOW); + } + if (h1 != LOW) { + digitalWrite(m2, LOW); + } + + Serial.print(h0); + Serial.print(h1); + } + + // timeout safety + digitalWrite(m1, LOW); + digitalWrite(m2, LOW); + Serial.println(""); +} + +void dispenseProcess(int col) { + Serial.println("Dispensing... "); + // 160-cap dual-group machine: cols 1-2 are LARGE (dual motor), cols 3-6 are NORMAL (single motor) + switch (col) { + case 1: dispenseLarge(motorPins[0], motorPins[1], motorLimitSwitches[0], motorLimitSwitches[1]); break; + case 2: dispenseLarge(motorPins[2], motorPins[3], motorLimitSwitches[2], motorLimitSwitches[3]); break; + case 3: dispenseNormal(motorPins[4], motorLimitSwitches[4]); break; + case 4: pinMode(motorPins[5], OUTPUT); dispenseNormal(motorPins[5], motorLimitSwitches[4]); break; // shares limit5 with col 3 + case 5: dispenseNormal(motorPins[6], motorLimitSwitches[5]); break; + case 6: dispenseNormal(motorPins[7], motorLimitSwitches[5]); break; // shares limit6 with col 5 + default: break; + } + + Serial.println("Dispense Done!"); +} + +#else // standard machines void runMotorSpring(int motorPin, int limitSwitch) { // spring-type dispense chamber delay(20U); @@ -76,8 +177,9 @@ void dispenseProcess(int col) { runMotorSpring(motorPins[4], motorLimitSwitches[2]); break; case 6: - // Pin 33 doubles as a crystal oscillator input; some timer operations - // force it back to INPUT mode, so we re-assert OUTPUT before driving it. + // GPIO 33 was switched to an analog input before every TLS connection + // (SSLClient read it as A5 for randomness; fixed, see SSL.h). Setting + // OUTPUT again before driving it is kept as a harmless safeguard. pinMode(motorPins[5], OUTPUT); runMotorSpring(motorPins[5], motorLimitSwitches[2]); break; @@ -92,3 +194,5 @@ void dispenseProcess(int col) { } Serial.println("Dispense Done!"); } + +#endif // IS_TWO_GROUP diff --git a/All_in_One/Global.h b/All_in_One/Global.h index 9777465..d1b15c1 100644 --- a/All_in_One/Global.h +++ b/All_in_One/Global.h @@ -140,7 +140,8 @@ enum GLOBAL_STATE : uint8_t { IDLE, DISPENSE, CONNECT, - SYNC + SYNC, + AWAITING_RFID, // two-group machine: a group button was pressed, waiting for the card }; static GLOBAL_STATE globalState = GLOBAL_STATE::EMPTY_STOCK; @@ -184,3 +185,34 @@ bool setDispenseRequest(const DispenseRequest& newState) { return true; } +#if IS_TWO_GROUP +// --------------------------------------------------------------------------- +// Two-group 160 machine (MACHINE_TYPE TYPE_TWO_GROUP_160) +// --------------------------------------------------------------------------- +// The customer presses a group button, then taps the card. The group names +// are the machine's size IDs in VMS: columns 1-2 must be BELT and columns +// 3-6 PANTY in the machine's stock there, matching the wiring (Dispense.h). +#define SIZE_BELT "BELT" // top button: columns 1-2 (two motors each) +#define SIZE_PANTY "PANTY" // bottom button: columns 3-6 (one motor each) +#define GROUP_RFID_TIMEOUT_MS 15000UL // time to tap the card after the button + +static const char* selectedGroup = nullptr; // nullptr = none, SIZE_BELT or SIZE_PANTY +static unsigned long groupSelectedAt = 0; // millis() when the group was chosen + +// Per-group stock, from the sync reply's "stock" object (keyed by size ID). +struct SizeStock { + uint16_t belt = 0; + uint16_t panty = 0; +}; + +static SizeStock sizeStock = {}; + +// Returns the stock count for the given sizeId, or 0 if unknown +inline uint16_t getStockForSize(const char* sizeId) { + if (sizeId == nullptr) return 0; + if (strcmp(sizeId, SIZE_BELT) == 0) return sizeStock.belt; + if (strcmp(sizeId, SIZE_PANTY) == 0) return sizeStock.panty; + return 0; +} +#endif + diff --git a/All_in_One/GsmClient.h b/All_in_One/GsmClient.h index b1de5f2..af7034b 100644 --- a/All_in_One/GsmClient.h +++ b/All_in_One/GsmClient.h @@ -2,7 +2,7 @@ #pragma once #define TINY_GSM_MODEM_SIM800 -#include +#include "src/TinyGSM/TinyGsmClient.h" #define GSM_APN "INTERNET" #define GPRS_USER "" diff --git a/All_in_One/IoT_Root_CA.h b/All_in_One/IoT_Root_CA.h new file mode 100644 index 0000000..0012e24 --- /dev/null +++ b/All_in_One/IoT_Root_CA.h @@ -0,0 +1,140 @@ +// IoT_Root_CA.h +#pragma once + +#ifdef __cplusplus +extern "C" +{ +#endif + +/* Generated by iot-mqtt/scripts/bearssl_trust_anchors.py. Do not edit by hand. + * BearSSL br_x509_trust_anchor format. Included certificates: + * 0: ca-main.crt (RSA 3072-bit) + * 1: ca-backup.crt (RSA 3072-bit) + */ + +#define TAs_NUM 2 + +static const unsigned char TA_DN0[] = { + 0x30, 0x45, 0x31, 0x22, 0x30, 0x20, 0x06, 0x03, 0x55, 0x04, 0x0A, 0x0C, + 0x19, 0x48, 0x65, 0x61, 0x64, 0x6C, 0x65, 0x73, 0x73, 0x20, 0x54, 0x65, + 0x63, 0x68, 0x6E, 0x6F, 0x6C, 0x6F, 0x67, 0x69, 0x65, 0x73, 0x20, 0x4C, + 0x74, 0x64, 0x31, 0x1F, 0x30, 0x1D, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0C, + 0x16, 0x48, 0x65, 0x61, 0x64, 0x6C, 0x65, 0x73, 0x73, 0x20, 0x49, 0x6F, + 0x54, 0x20, 0x52, 0x6F, 0x6F, 0x74, 0x20, 0x43, 0x41, 0x20, 0x31, +}; + +static const unsigned char TA_RSA_N0[] = { + 0xB8, 0xB1, 0xCB, 0x91, 0x99, 0x72, 0xF2, 0x50, 0xE7, 0xB7, 0x58, 0xB4, + 0xC4, 0x4E, 0xD3, 0x31, 0x6C, 0xB2, 0x8D, 0x57, 0x7B, 0x18, 0x4D, 0x46, + 0x94, 0xCB, 0x6A, 0x29, 0xFC, 0x28, 0x31, 0x07, 0x04, 0xD8, 0xA1, 0xFB, + 0xE8, 0x70, 0xD4, 0xB7, 0x33, 0xC9, 0x62, 0x94, 0x50, 0x94, 0x73, 0x98, + 0xB3, 0xEE, 0x00, 0xA3, 0xA3, 0xEE, 0x8C, 0x1F, 0xCC, 0xB9, 0x37, 0xD7, + 0x21, 0x75, 0x95, 0x8A, 0x78, 0x4D, 0x6A, 0x8A, 0x62, 0xD8, 0x21, 0x54, + 0x07, 0xA2, 0x34,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0xE9, 0x82, 0x14, 0x46, 0x16, 0xF2, 0x2A, 0x4B, 0xA9, 0x4C, 0xFC, + 0x39, 0xF1, 0xEA, 0x62, 0xC5, 0xAC, 0xA9, 0x4E, 0x74, 0x75, 0x5F, 0x99, + 0x06, 0x13, 0xBA, 0xA3, 0x5D, 0x31, 0xA9, 0xB8, 0x18, 0x60, 0xD1, 0x4C, + 0x72, 0xCE, 0x0F, 0x1F, 0x38, 0xD5, 0xAF, 0x95, 0x2B, 0xFA, 0x8F, 0xDD, + 0x09, 0xB6, 0x89, 0x59, 0x91, 0x02, 0x9B, 0x45, 0xB9, 0x5F, 0xD1, 0xD9, + 0x1E, 0x01, 0xBE, 0xF5, 0x60, 0xF8, 0x63, 0x3D, 0x03, 0xBF, 0x47, 0x12, + 0x06, 0xA4, 0xA3, 0x4F, 0x38, 0xAD, 0x4F, 0x64, 0xF4, 0xF0, 0x38, 0xCF, + 0xA3, 0x28, 0x20, 0x62, 0xE6, 0x49, 0x30, 0x86, 0x2C, 0x02, 0xA0, 0xD8, + 0x57, 0x50, 0x8D, 0xF2, 0xC7, 0xC6, 0xC9, 0x67, 0xD4, 0x61, 0x2E, 0xBE, + 0xA9, 0x9C, 0x2A, 0xFD, 0xC1, 0xA0, 0xDC, 0x57, 0x69, 0x10, 0x6B, 0x1E, + 0x24, 0x29, 0xA4, 0x70, 0xC2, 0xDE, 0x8F, 0xDF, 0x0D, 0xC4, 0xA8, 0xD5, +}; + +static const unsigned char TA_RSA_E0[] = { + 0x01, 0x00, 0x01, +}; + +static const unsigned char TA_DN1[] = { + 0x30, 0x45, 0x31, 0x22, 0x30, 0x20, 0x06, 0x03, 0x55, 0x04, 0x0A, 0x0C, + 0x19, 0x48, 0x65, 0x61, 0x64, 0x6C, 0x65, 0x73, 0x73, 0x20, 0x54, 0x65, + 0x63, 0x68, 0x6E, 0x6F, 0x6C, 0x6F, 0x67, 0x69, 0x65, 0x73, 0x20, 0x4C, + 0x74, 0x64, 0x31, 0x1F, 0x30, 0x1D, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0C, + 0x16, 0x48, 0x65, 0x61, 0x64, 0x6C, 0x65, 0x73, 0x73, 0x20, 0x49, 0x6F, + 0x54, 0x20, 0x52, 0x6F, 0x6F, 0x74, 0x20, 0x43, 0x41, 0x20, 0x32, +}; + +static const unsigned char TA_RSA_N1[] = { + 0x96, 0x88, 0x47, 0xE6, 0x35, 0x53, 0x8A, 0xD6, 0xD7, 0x52, 0x30, 0x59, + 0x7A, 0xFA, 0x6A, 0xE3, 0x68, 0x32, 0xCA, 0xB9, 0xD2, 0x5A, 0x3B, 0x92, + 0xA9, 0xF6, 0x64, 0x45, 0x84, 0x6F, 0xB4, 0x8D, 0x9A, 0xB2, 0x20, 0x59, + 0x06, 0x9C, 0xB3, 0xF9, 0x31, 0xAB, 0xE1, 0xBC, 0xF8, 0x34, 0xAF, 0x4A, + 0x89, 0x71, 0x52, 0xCA, 0x07, 0xCD, 0x56, 0x91, 0xEA, 0x76, 0xED, 0xF4, + 0xF6, 0x84, 0x0F, 0xE0, 0x48, 0xAD, 0x3F, 0xD9, 0x85, 0x81, 0xE1, 0x56, + 0x98, 0xF5, 0xAB, 0x40, 0xCB, 0x14, 0x03, 0x61, 0x6F, 0x45, 0xE6, 0xDB, + 0x2A, 0xC7, 0xED, 0xCD, 0x8D, 0xF7, 0x23, 0xAC, 0x91, 0x58, 0x92, 0x54, + 0x7F, 0x1F, 0x83, 0x0D, 0x58, 0x3D, 0xA7, 0x56, 0xEC, 0x4C, 0xC1, 0x49, + 0x96, 0xB9, 0xCA, 0xEA, 0xE5, 0xC8, 0x4B, 0x28, 0xBD, 0xF2, 0xEC, 0x08, + 0x99, 0x31, 0xEB, 0x1E, 0x2E, 0x42, 0x14, 0x31, 0x7B, 0xC0, 0x69, 0x7B, + 0x2A, 0xB3, 0x38, 0x02, 0xB1, 0x54, 0xF4, 0x44, 0x52, 0x1D, 0xB7, 0x2E, + 0x5C, 0x1E, 0xDF, 0x3B,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C7, 0x2F, 0xBE, 0x34, 0x46, 0x16, 0x1D, 0xA7, 0x5B, + 0xE3, 0x9C, 0xD4, 0xCE, 0x29, 0x48, 0xB3, 0x45, 0x8A, 0x11, 0x8D, 0xEC, + 0x8A, 0x47, 0xDD, 0x7B, 0x13, 0xEC, 0xBD, 0x27, 0x2D, 0xF4, 0xAD, 0x8D, + 0x53, 0x7A, 0x9B, 0x59, 0xE4, 0x25, 0x11, 0xDC, 0x90, 0x39, 0x73, 0x37, + 0xB8, 0xDB, 0xDF, 0xBE, 0xC1, 0xE0, 0xEF, 0xA8, 0x35, 0x3A, 0x1E, 0xA1, +}; + +static const unsigned char TA_RSA_E1[] = { + 0x01, 0x00, 0x01, +}; + +static const br_x509_trust_anchor TAs[] = { + { + { (unsigned char *)TA_DN0, sizeof TA_DN0 }, + BR_X509_TA_CA, + { + BR_KEYTYPE_RSA, + { .rsa = { + (unsigned char *)TA_RSA_N0, sizeof TA_RSA_N0, + (unsigned char *)TA_RSA_E0, sizeof TA_RSA_E0, + } } + } + }, + { + { (unsigned char *)TA_DN1, sizeof TA_DN1 }, + BR_X509_TA_CA, + { + BR_KEYTYPE_RSA, + { .rsa = { + (unsigned char *)TA_RSA_N1, sizeof TA_RSA_N1, + (unsigned char *)TA_RSA_E1, sizeof TA_RSA_E1, + } } + } + }, +}; + +#ifdef __cplusplus +} /* extern "C" */ +#endif diff --git a/All_in_One/MQTT.h b/All_in_One/MQTT.h index 5f8c3b3..2569772 100644 --- a/All_in_One/MQTT.h +++ b/All_in_One/MQTT.h @@ -1,15 +1,16 @@ // MQTT.h #pragma once -#include +#include "src/PubSubClient/PubSubClient.h" #include "Global.h" #include "SSL.h" #include "Dispense.h" #include "display.h" -#define MQTT_BROKER "a35i41v9e1l1gt-ats.iot.ap-south-1.amazonaws.com" -#define MQTT_PORT 8883 // ports usually this while using SSL +#include "broker.h" // broker address and the machines' login +#include "version.h" + #define MQTT_SUB_QOS 1 #define MQTT_PACKET_SIZE 512 @@ -123,12 +124,24 @@ void drainInbound(uint8_t passes = 3) { } } -bool sendCurrentStatus() { - StaticJsonDocument<48> doc; - doc["message"] = "online"; +// The status JSON is built with snprintf into a fixed stack buffer. Enforce +// at compile time that it always fits and is valid JSON: a truncated or +// unescaped payload would fail JSON.parse on the server and the machine +// would never show as online. +#define STATUS_BUFFER_SIZE 64 +constexpr bool fwIsJsonSafe(const char* s) { + return *s == '\0' ? true + : (*s != '"' && *s != '\\' && (unsigned char)*s >= 0x20 && fwIsJsonSafe(s + 1)); +} +static_assert(sizeof("{\"message\":\"online\",\"fw\":\"\"}") - 1 + sizeof(FW_VERSION) - 1 < STATUS_BUFFER_SIZE, + "FW_VERSION is too long for the status buffer"); +static_assert(fwIsJsonSafe(FW_VERSION), "FW_VERSION must not contain quotes, backslashes or control characters"); - char mqttBuffer[48]; - serializeJson(doc, mqttBuffer); +bool sendCurrentStatus() { + // e.g. {"message":"online","fw":"2.0.0 STD Nov 27 2026 10:15:00"} (58 chars) + // The server ignores fields it doesn't know and logs the version. + char mqttBuffer[STATUS_BUFFER_SIZE]; + snprintf(mqttBuffer, sizeof mqttBuffer, "{\"message\":\"online\",\"fw\":\"%s\"}", FW_VERSION); Serial.println(mqttBuffer); @@ -182,16 +195,21 @@ bool connectMqtt() { } static const char* lwtPayload = "{\"message\":\"offline\"}"; - // cleanSession=false -> AWS IoT broker keeps the session for up to 1 hour + // cleanSession=false -> the broker keeps the session for up to 1 hour // across disconnects and redelivers queued QoS 1 msgs on reconnect. Without // this, any dispense msg the server publishes while we are reconnecting is // silently dropped at the broker - which is exactly the "bKash payment went // through but nothing dispensed" pattern we were seeing. - if (mqtt.connect(MACHINE_ID, nullptr, nullptr, lwtTOPIC, MQTT_LWT_QOS, MQTT_LWT_RETAIN, lwtPayload, false)) { + // Client ID = machine ID: the broker only allows a machine its own topics. + if (mqtt.connect(MACHINE_ID, MQTT_DEVICE_USERNAME, MQTT_DEVICE_PASSWORD, lwtTOPIC, MQTT_LWT_QOS, + MQTT_LWT_RETAIN, lwtPayload, false)) { Serial.println("CONNECTION ESTABLISHED WITH LWT"); sendCurrentStatus(); break; } else { + // PubSubClient state: -4..-1 network/timeout, 2 client ID rejected, + // 4 wrong username or password, 5 not authorized (see broker.h). + Serial.printf("MQTT connect failed, state %d\n", mqtt.state()); delay(500U); yield(); } diff --git a/All_in_One/RequestsResponse.h b/All_in_One/RequestsResponse.h index bb44e19..df42e57 100644 --- a/All_in_One/RequestsResponse.h +++ b/All_in_One/RequestsResponse.h @@ -61,17 +61,21 @@ bool sendSyncRequest(bool isAcknowledgement) { return true; } -bool sendDispenseRequest(const char* rfid) { +// rfid: the card number, or nullptr for cash. sizeId: the group on a +// two-group machine (SIZE_BELT / SIZE_PANTY), otherwise nullptr. +// e.g. {"rfid":"4294967295","info":"dispense","size":"PANTY"} (56 chars) +bool sendDispenseRequest(const char* rfid, const char* sizeId = nullptr) { // Run the MQTT loop briefly instead of blocking — keeps the SSL connection // alive and avoids the 1 s dead-window that triggered reconnects. mqtt.loop(); - StaticJsonDocument<48> mqttDocToSend; + StaticJsonDocument<96> mqttDocToSend; if (rfid != nullptr) mqttDocToSend["rfid"] = rfid; mqttDocToSend["info"] = "dispense"; + if (sizeId != nullptr) mqttDocToSend["size"] = sizeId; - char mqtt_buffer[48]; + char mqtt_buffer[96]; serializeJson(mqttDocToSend, mqtt_buffer); @@ -194,6 +198,17 @@ void handleDispenseResponse(JsonDocument mqttDoc) { showImage(refill_t); delay(3000U); break; + case 405: + // There is no "not enough points" image; "limit crossed" is the + // closest message (reusing it costs no memory). + Serial.println("Not enough points"); +#if defined(HAS_RFID_MODULE) + showImage(rfidLimitCrossed_t); +#else + showImage(somethingWentWrong_t); +#endif + delay(3000U); + break; default: Serial.println("invalid status code"); showImage(somethingWentWrong_t); @@ -233,6 +248,17 @@ void handleSyncResponse(const JsonDocument& mqttDoc) { int count = mqttDoc["count"].as(); globalData.hasStock = count >= 1; +#if IS_TWO_GROUP + // Per-group stock: the server sends "stock" (by size ID) for machines + // with more than one size. + if (mqttDoc.containsKey("stock")) { + JsonObjectConst stockObj = mqttDoc["stock"].as(); + sizeStock.belt = stockObj[SIZE_BELT] | (uint16_t)0; + sizeStock.panty = stockObj[SIZE_PANTY] | (uint16_t)0; + Serial.printf("Size stock - BELT: %u, PANTY: %u\n", sizeStock.belt, sizeStock.panty); + } +#endif + if (count <= 0) { setGlobalState(GLOBAL_STATE::EMPTY_STOCK); Serial.println("product sesh."); diff --git a/All_in_One/SSL.h b/All_in_One/SSL.h index d7b3ad8..d27c205 100644 --- a/All_in_One/SSL.h +++ b/All_in_One/SSL.h @@ -1,100 +1,53 @@ -// SSL.h -#pragma once - -#include - -#include "AWS_Root_CA.h" -#include "WifiClient.h" -#include "GsmClient.h" - -#ifdef USE_WIFI -std::unique_ptr wifiSSLClient = nullptr; -#else -std::unique_ptr gsmSSLClient = nullptr; -#endif - - -// my_cert is Device Certificate -const char my_cert[] = -"-----BEGIN CERTIFICATE-----\n" -"MIIDWjCCAkKgAwIBAgIVAIG44ADEfA3KXbsrd/wbHAobfNOCMA0GCSqGSIb3DQEB\n" -"CwUAME0xSzBJBgNVBAsMQkFtYXpvbiBXZWIgU2VydmljZXMgTz1BbWF6b24uY29t\n" -"IEluYy4gTD1TZWF0dGxlIFNUPVdhc2hpbmd0b24gQz1VUzAeFw0yMzA0MDkwNjU2\n" -"NTNaFw00OTEyMzEyMzU5NTlaMB4xHDAaBgNVBAMME0FXUyBJb1QgQ2VydGlmaWNh\n" -"dGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDBPU4g/QIA+t3F/tgg\n" -"5ZWcYq8AeiyfAmXN2pqNp52vsvERREnUrbdSxv1YPW+0GRj2x/EJS4coX8XZGQZo\n" -"tOyuEW94o87TF/zr+jgkG2bkSqzvUgy8Ekm5jvndGtrXQ+RVhyTX4XruCnV/Bav7\n" -"taxzaV0FUI1Z6urHZ4MyLj28vT8MwScsUC8KTLZQC8vasiI8TjaXipjSHxed4Y1f\n" -"urZ0nGi4Q9aLT2I7m2PyI0zP5gFqXznANQZMF7ltCo3Uvvmg42obP6OgdjZ8s0HG\n" -"4KIMO3hOMxFlUT5Z7vHUkHWNS1RDb2OXSLeHzCtGkF4DYFV5/OS64PJvAmpWg75y\n" -"JqH7AgMBAAGjYDBeMB8GA1UdIwQYMBaAFN/KAjznh+Y5NZCCgTa/5k0CGIi9MB0G\n" -"A1UdDgQWBBQgNk1YOb4ZZIXdhy2Q0agj3ATEADAMBgNVHRMBAf8EAjAAMA4GA1Ud\n" -"DwEB/wQEAwIHgDANBgkqhkiG9w0BAQsFAAOCAQEAd7AayVGt/FQkeUGkV0dwbppa\n" -"HAzVxv1TihxF3yQdWOxxk1OaxXNRpJtVSzirQzg6+syKsqE5w2yhEc9+DHiUN2Ks\n" -"1zqIakNEk9R7mP9SbxFvKnEKDis4yKuB5YHgM6vHBabUOdmC5hKcVg/KzOjKUMOe\n" -"mJpi/rd9h1VyT1Y023juedq3UaZacHBKTVaTdsdiPUucP8fm9jqW6uhPZA0dfIig\n" -"HI3lcC+bD86ANv67WMICvJpaqsgGuq8XBz7aQWgwq2bRg85Mzs5DRlgtjvHm1xr+\n" -"3dGpgbMc7QVBpfweGVmZ1FVqi6jSlTUY5ff8ojQm8BV5xL2bBtSUh+LMghuySA==\n" -"-----END CERTIFICATE-----\n"; - - -// my_key is Device Private Key -const char my_key[] = -"-----BEGIN RSA PRIVATE KEY-----\n" -"MIIEogIBAAKCAQEAwT1OIP0CAPrdxf7YIOWVnGKvAHosnwJlzdqajaedr7LxEURJ\n" -"1K23Usb9WD1vtBkY9sfxCUuHKF/F2RkGaLTsrhFveKPO0xf86/o4JBtm5Eqs71IM\n" -"vBJJuY753Rra10PkVYck1+F67gp1fwWr+7Wsc2ldBVCNWerqx2eDMi49vL0/DMEn\n" -"LFAvCky2UAvL2rIiPE42l4qY0h8XneGNX7q2dJxouEPWi09iO5tj8iNMz+YBal85\n" -"wDUGTBe5bQqN1L75oONqGz+joHY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" -"vc/xminpK9JWdNVgk89di9CwZ763/EJL+/3tr9bP/JPv72VyGt1V4MgrRam1qPNR\n" -"+bRH5esHYKAWkzDXR3q6r718l5QIuccAy5zSzgPoHldnD67h8kwHeFq/l1bd/QsB\n" -"c0uxAoGAc09bm/A8UTn03Q+5FMic/upJyAjBC/nrmqVS2JvhzLNtKWk+LQUIFGqA\n" -"wmaYU4rHVyJQ2OFU9FDpoi/DoNIFajGuJO12IQpCkxgTKX/4xCsuX0i9k5gPr5BV\n" -"2Vj8OXv10b6B9BfxsyiI3bOn9M9v4H09nB8k/WSCt12UksqvPms=\n" -"-----END RSA PRIVATE KEY-----\n"; - -// TLS Authentication -SSLClientParameters mTLS = SSLClientParameters::fromPEM(my_cert, sizeof my_cert, my_key, sizeof my_key); - -void initializeSSL() { - Serial.printf("Free heap before initializeSSL: %d\n", ESP.getFreeHeap()); - - // Check if memory is critically low before initializing SSL - if (ESP.getFreeHeap() < 55000) { // Set a low memory threshold, e.g., 70 KB - Serial.println("Very low memory detected. Restarting ESP32 to prevent crash."); - delay(50U); // Short delay for Serial output - ESP.restart(); // Restart ESP32 to clear memory - return; - } - -#ifdef USE_WIFI - if (!wifiSSLClient) { - wifiSSLClient.reset(new SSLClient(wifiClient, TAs, TAs_NUM, A5)); - wifiSSLClient->setMutualAuthParams(mTLS); - } -#else - if (!gsmSSLClient) { - gsmSSLClient.reset(new SSLClient(gsmClient, TAs, TAs_NUM, A5)); - gsmSSLClient->setMutualAuthParams(mTLS); - } -#endif - delay(200U); // Short delay for memory stabilization - - Serial.printf("Free heap after initializeSSL: %d\n", ESP.getFreeHeap()); -} - +// SSL.h +#pragma once + +#include "src/SSLClient/SSLClient.h" + +#include "IoT_Root_CA.h" // our CAs (main + backup), see broker.h +#include "WifiClient.h" +#include "GsmClient.h" + +#ifdef USE_WIFI +std::unique_ptr wifiSSLClient = nullptr; +#else +std::unique_ptr gsmSSLClient = nullptr; +#endif + + +void initializeSSL() { + Serial.printf("Free heap before initializeSSL: %d\n", ESP.getFreeHeap()); + // Diagnostics only: SSLClient needs one contiguous block, which a total + // free-heap figure does not guarantee. + Serial.printf("Largest free block: %u (SSLClient: %u)\n", + (unsigned)ESP.getMaxAllocHeap(), (unsigned)sizeof(SSLClient)); + + // Check if memory is critically low before initializing SSL + if (ESP.getFreeHeap() < 55000) { // Set a low memory threshold, e.g., 70 KB + Serial.println("Very low memory detected. Restarting ESP32 to prevent crash."); + delay(50U); // Short delay for Serial output + ESP.restart(); // Restart ESP32 to clear memory + return; + } + +#ifdef USE_WIFI + if (!wifiSSLClient) { + // The analog-pin argument is unused: the TLS random generator is seeded + // from the ESP32 hardware RNG (SSLClient patch, tools/vendor-libraries.sh). + // It used to be A5 = GPIO 33, the column-6 motor pin. + wifiSSLClient.reset(new SSLClient(wifiClient, TAs, TAs_NUM, -1)); + } +#else + if (!gsmSSLClient) { + // The analog-pin argument is unused: the TLS random generator is seeded + // from the ESP32 hardware RNG (SSLClient patch, tools/vendor-libraries.sh). + // It used to be A5 = GPIO 33, the column-6 motor pin. + gsmSSLClient.reset(new SSLClient(gsmClient, TAs, TAs_NUM, -1)); + } +#endif + delay(200U); // Short delay for memory stabilization + + Serial.printf("Free heap after initializeSSL: %d\n", ESP.getFreeHeap()); + Serial.printf("Min free heap: %u, loop stack left: %u\n", + (unsigned)ESP.getMinFreeHeap(), (unsigned)uxTaskGetStackHighWaterMark(NULL)); +} + diff --git a/All_in_One/WifiClient.h b/All_in_One/WifiClient.h index 902526f..2cf6e1a 100644 --- a/All_in_One/WifiClient.h +++ b/All_in_One/WifiClient.h @@ -3,8 +3,7 @@ #include -#define WIFI_SSID "Diva" -#define WIFI_PASS "headtechless" +// WIFI_SSID and WIFI_PASSWORD come from config.h. WiFiClient wifiClient; @@ -19,14 +18,12 @@ bool tryWifiConnect() { Serial.print("SSID: "); Serial.println(WIFI_SSID); - Serial.print("PASS: "); - Serial.println(WIFI_PASS); WiFi.disconnect(true); delay(100); WiFi.mode(WIFI_STA); - WiFi.begin(WIFI_SSID, WIFI_PASS); + WiFi.begin(WIFI_SSID, WIFI_PASSWORD); unsigned long start = millis(); while (WiFi.status() != WL_CONNECTED && millis() - start < 10000U) { diff --git a/All_in_One/broker.h b/All_in_One/broker.h new file mode 100644 index 0000000..725ba5c --- /dev/null +++ b/All_in_One/broker.h @@ -0,0 +1,22 @@ +// broker.h - how every machine logs in to the MQTT broker. +// +// The password below is shared by ALL machines (MQTT login "vms"). +// It must match the "vms" entry of MQTT_USERS on the broker +// (repository HeadlessTech/iot-mqtt, broker settings in Coolify). +// To change it: change it on the broker AND here, then reflash every +// machine; machines with the old password can't connect until reflashed. +#define MQTT_DEVICE_PASSWORD "24b2081b5cc53b9668addab43aea4406c71300a63e60041c" + +#define MQTT_DEVICE_USERNAME "vms" +#define MQTT_BROKER "iot-mqtt.headless.ltd" +#define MQTT_PORT 8883 // MQTT over TLS + +// The machine logs in with client ID = its machine ID; the broker only lets +// it use its own topics: vms//pub, /sub, /status and /ping +// (with /dev at the end on the staging server). +// +// The broker's TLS certificate is checked against our two CA certificates in +// IoT_Root_CA.h (main + backup, valid 2020-2050; generated by +// iot-mqtt/scripts/bearssl_trust_anchors.py). The broker certificate itself +// is valid 2020-2045. BearSSL checks those dates against this firmware's +// build date, so any build made from 2020 on works until 2045. diff --git a/All_in_One/config.h b/All_in_One/config.h new file mode 100644 index 0000000..f1ae888 --- /dev/null +++ b/All_in_One/config.h @@ -0,0 +1,36 @@ +// config.h - THE ONLY FILE TO EDIT FOR EACH MACHINE +// +// Fill in every setting below, save, then flash: +// - flash.bat COM5 (in the repository folder), or +// - Arduino IDE: open All_in_One.ino, board "ESP32 Dev Module", Upload. +// If a setting is missing or wrong, the build stops with a message that says +// which one, so a half-configured firmware never reaches a machine. + +// Machine ID, exactly as in the VMS dashboard (letters, digits, - and _). +#define MACHINE_ID "CHANGE_ME" + +// Machine type: +// TYPE_STANDARD 20, 40, 60, 120 and 160 machines +// TYPE_TWO_GROUP_160 160 machine with two groups: BELT (top button) and +// PANTY (bottom button) +#define MACHINE_TYPE TYPE_STANDARD + +// Capacity: 20, 40, 60, 120 or 160 +#define MACHINE_SIZE 20 + +// Internet connection: NETWORK_GSM (SIM card) or NETWORK_WIFI +#define NETWORK NETWORK_GSM + +// Wi-Fi only: this site's Wi-Fi name and password. Leave "" on GSM machines. +#define WIFI_SSID "" +#define WIFI_PASSWORD "" + +// Installed modules: 1 = installed, 0 = not installed +#define HAS_RFID 1 +#define HAS_BKASH 1 +#define HAS_CASH 0 + +// Server: +// SERVER_PRODUCTION machines in the field (vms.headless.ltd) +// SERVER_STAGING testing only (vms-new.headless.ltd) +#define SERVER SERVER_PRODUCTION diff --git a/All_in_One/config_check.h b/All_in_One/config_check.h new file mode 100644 index 0000000..8ca143a --- /dev/null +++ b/All_in_One/config_check.h @@ -0,0 +1,120 @@ +// config_check.h - checks config.h and derives the code's build switches. +// Not edited per machine. Every problem stops the build with a message +// naming the setting in config.h. +#pragma once + +#include + +// The firmware is built and tested with exactly this ESP32 board package. +#if ESP_ARDUINO_VERSION_MAJOR != 2 || ESP_ARDUINO_VERSION_MINOR != 0 || ESP_ARDUINO_VERSION_PATCH != 17 +#error "Install ESP32 board package 2.0.17 (Arduino IDE: Tools > Board > Boards Manager > esp32 > 2.0.17)" +#endif + +// Values for the settings in config.h. +#define TYPE_STANDARD 1 +#define TYPE_TWO_GROUP_160 2 +#define NETWORK_GSM 1 +#define NETWORK_WIFI 2 +#define SERVER_PRODUCTION 1 +#define SERVER_STAGING 2 + +// The old per-machine switches now come from config.h. +#if defined(USE_WIFI) || defined(IS_DEVELOPMENT) || defined(HAS_RFID_MODULE) || defined(HAS_BKASH_MODULE) || defined(HAS_CASH_MODULE) +#error "Old setting found (USE_WIFI, IS_DEVELOPMENT or HAS_*_MODULE): set NETWORK, SERVER and HAS_RFID/HAS_BKASH/HAS_CASH in config.h instead" +#endif + +// --- every setting is present ---------------------------------------------- +#ifndef MACHINE_ID +#error "config.h: MACHINE_ID is missing" +#endif +#ifndef MACHINE_TYPE +#error "config.h: MACHINE_TYPE is missing" +#endif +#ifndef MACHINE_SIZE +#error "config.h: MACHINE_SIZE is missing" +#endif +#ifndef NETWORK +#error "config.h: NETWORK is missing" +#endif +#if !defined(WIFI_SSID) || !defined(WIFI_PASSWORD) +#error "config.h: WIFI_SSID and WIFI_PASSWORD must be there (\"\" on GSM machines)" +#endif +#if !defined(HAS_RFID) || !defined(HAS_BKASH) || !defined(HAS_CASH) +#error "config.h: HAS_RFID, HAS_BKASH and HAS_CASH must all be there (1 or 0)" +#endif +#ifndef SERVER +#error "config.h: SERVER is missing" +#endif + +// --- every setting has an allowed value ------------------------------------ +// (A misspelled value such as TYPE_STANDRD counts as 0 here, so it fails too.) +#if MACHINE_TYPE != TYPE_STANDARD && MACHINE_TYPE != TYPE_TWO_GROUP_160 +#error "config.h: MACHINE_TYPE must be TYPE_STANDARD or TYPE_TWO_GROUP_160" +#endif +#if MACHINE_SIZE != 20 && MACHINE_SIZE != 40 && MACHINE_SIZE != 60 && MACHINE_SIZE != 120 && MACHINE_SIZE != 160 +#error "config.h: MACHINE_SIZE must be 20, 40, 60, 120 or 160" +#endif +#if NETWORK != NETWORK_GSM && NETWORK != NETWORK_WIFI +#error "config.h: NETWORK must be NETWORK_GSM or NETWORK_WIFI" +#endif +#if SERVER != SERVER_PRODUCTION && SERVER != SERVER_STAGING +#error "config.h: SERVER must be SERVER_PRODUCTION or SERVER_STAGING" +#endif +#if (HAS_RFID != 0 && HAS_RFID != 1) || (HAS_BKASH != 0 && HAS_BKASH != 1) || (HAS_CASH != 0 && HAS_CASH != 1) +#error "config.h: HAS_RFID, HAS_BKASH and HAS_CASH must each be 1 (installed) or 0 (not installed)" +#endif +#if !HAS_RFID && !HAS_BKASH && !HAS_CASH +#error "config.h: no payment module installed; set at least one of HAS_RFID, HAS_BKASH, HAS_CASH to 1" +#endif + +// --- the settings work together --------------------------------------------- +#if MACHINE_TYPE == TYPE_TWO_GROUP_160 +#if MACHINE_SIZE != 160 +#error "config.h: TYPE_TWO_GROUP_160 needs MACHINE_SIZE 160" +#endif +#if HAS_CASH +#error "config.h: TYPE_TWO_GROUP_160 can't have HAS_CASH 1: the cash acceptor's input (GPIO 35) is a limit switch on this machine" +#endif +#if !HAS_RFID +#error "config.h: TYPE_TWO_GROUP_160 needs HAS_RFID 1: the customer picks a group with a button, then taps the card" +#endif +#endif + +namespace config_check { +constexpr bool sameText(const char* a, const char* b) { + return *a == *b && (*a == '\0' || sameText(a + 1, b + 1)); +} +constexpr bool idCharsOk(const char* s) { + return *s == '\0' || (((*s >= 'A' && *s <= 'Z') || (*s >= 'a' && *s <= 'z') || (*s >= '0' && *s <= '9') || + *s == '-' || *s == '_') && + idCharsOk(s + 1)); +} +} // namespace config_check + +static_assert(sizeof(MACHINE_ID) > 1, "config.h: MACHINE_ID is empty"); +static_assert(sizeof(MACHINE_ID) <= 33, "config.h: MACHINE_ID is longer than 32 characters"); +static_assert(config_check::idCharsOk(MACHINE_ID), + "config.h: MACHINE_ID may only contain letters, digits, - and _ (no spaces)"); +static_assert(!config_check::sameText(MACHINE_ID, "CHANGE_ME"), + "config.h: set MACHINE_ID to this machine's ID from the VMS dashboard"); +#if NETWORK == NETWORK_WIFI +static_assert(sizeof(WIFI_SSID) > 1, "config.h: WIFI_SSID is empty, but NETWORK is NETWORK_WIFI"); +#endif + +// --- build switches used by the code (derived; never set these by hand) ---- +#if NETWORK == NETWORK_WIFI +#define USE_WIFI +#endif +#if SERVER == SERVER_STAGING +#define IS_DEVELOPMENT +#endif +#if HAS_RFID +#define HAS_RFID_MODULE +#endif +#if HAS_BKASH +#define HAS_BKASH_MODULE +#endif +#if HAS_CASH +#define HAS_CASH_MODULE +#endif +#define IS_TWO_GROUP (MACHINE_TYPE == TYPE_TWO_GROUP_160) diff --git a/All_in_One/display.h b/All_in_One/display.h index 5392b34..38ee325 100644 --- a/All_in_One/display.h +++ b/All_in_One/display.h @@ -43,62 +43,105 @@ #include "i_SomethingWentWrong.h" #include "i_TryAgain.h" +#if IS_TWO_GROUP +#include "i_PushBtnOrScanQR.h" +#include "i_HoldRfid.h" +#endif + CompositeGraphics graphics(CompositeColorOutput::XRES, CompositeColorOutput::YRES); CompositeColorOutput composite(CompositeColorOutput::NTSC); +// Screen layout on the 336x240 frame. Only these two areas are ever drawn; +// the rest of the screen stays black and has no memory of its own (see +// CompositeGraphics::init). +constexpr int LOGO_X = 60, LOGO_Y = 40; // Headless logo, drawn once at boot +constexpr int IMAGE_X = 90, IMAGE_Y = 100; // the current message image +constexpr unsigned int IMAGE_WIDTH = 168, IMAGE_HEIGHT = 124; + +// Declares a message image and checks its size at build time: every image +// is drawn over the previous one, so all must be exactly IMAGE_WIDTH x +// IMAGE_HEIGHT. +#define DIVA_IMAGE(var, ns) \ + static_assert(ns::xres == IMAGE_WIDTH && ns::yres == IMAGE_HEIGHT, \ + #ns " must be 168x124 pixels like every other screen image"); \ + Image var(ns::xres, ns::yres, ns::pixels) + Image logo_image(HeadlessLogo::xres, HeadlessLogo::yres, HeadlessLogo::pixels); -void showImage(Image text); +void showImage(Image& img); #if defined(HAS_BKASH_MODULE) -Image bkashComplete_t(BkashComplete::xres, BkashComplete::yres, BkashComplete::pixels); -Image bkashFailed_t(BkashFailed::xres, BkashFailed::yres, BkashFailed::pixels); -Image onlyBkash_t(OnlyBkash::xres, OnlyBkash::yres, OnlyBkash::pixels); +DIVA_IMAGE(bkashComplete_t, BkashComplete); +DIVA_IMAGE(bkashFailed_t, BkashFailed); +DIVA_IMAGE(onlyBkash_t, OnlyBkash); #endif #if defined(HAS_RFID_MODULE) -Image onlyRfid_t(OnlyRfid::xres, OnlyRfid::yres, OnlyRfid::pixels); +DIVA_IMAGE(onlyRfid_t, OnlyRfid); #endif #if defined(HAS_RFID_MODULE) && defined(HAS_BKASH_MODULE) -Image rfidAndBkash_t(RfidAndBkash::xres, RfidAndBkash::yres, RfidAndBkash::pixels); +DIVA_IMAGE(rfidAndBkash_t, RfidAndBkash); #endif -Image collectProduct_t(CollectProduct::xres, CollectProduct::yres, CollectProduct::pixels); -Image connecting_t(Connecting::xres, Connecting::yres, Connecting::pixels); -Image dispensing_t(Dispensing::xres, Dispensing::yres, Dispensing::pixels); -Image allInOne_t(AllInOne::xres, AllInOne::yres, AllInOne::pixels); -Image refill_t(Refill::xres, Refill::yres, Refill::pixels); -Image welcome_t(Welcome::xres, Welcome::yres, Welcome::pixels); +DIVA_IMAGE(collectProduct_t, CollectProduct); +DIVA_IMAGE(connecting_t, Connecting); +DIVA_IMAGE(dispensing_t, Dispensing); +DIVA_IMAGE(allInOne_t, AllInOne); +DIVA_IMAGE(refill_t, Refill); +DIVA_IMAGE(welcome_t, Welcome); #if defined(HAS_RFID_MODULE) -Image rfidProcessing_t(RfidProcessing::xres, RfidProcessing::yres, RfidProcessing::pixels); -Image rfidBlocked_t(RfidBlocked::xres, RfidBlocked::yres, RfidBlocked::pixels); -Image rfidLimitCrossed_t(RfidLimitCrossed::xres, RfidLimitCrossed::yres, RfidLimitCrossed::pixels); +DIVA_IMAGE(rfidProcessing_t, RfidProcessing); +DIVA_IMAGE(rfidBlocked_t, RfidBlocked); +DIVA_IMAGE(rfidLimitCrossed_t, RfidLimitCrossed); #endif -Image unauthorizedRequest_t(UnauthorizedRequest::xres, UnauthorizedRequest::yres, UnauthorizedRequest::pixels); +DIVA_IMAGE(unauthorizedRequest_t, UnauthorizedRequest); #if defined(HAS_CASH_MODULE) -Image insertTenTaka_t(InsertTenTaka::xres, InsertTenTaka::yres, InsertTenTaka::pixels); -Image noteProcessing_t(NoteProcessing::xres, NoteProcessing::yres, NoteProcessing::pixels); -Image noteAccepted_t(NoteAccepted::xres, NoteAccepted::yres, NoteAccepted::pixels); +DIVA_IMAGE(insertTenTaka_t, InsertTenTaka); +DIVA_IMAGE(noteProcessing_t, NoteProcessing); +DIVA_IMAGE(noteAccepted_t, NoteAccepted); +#endif + +DIVA_IMAGE(somethingWentWrong_t, SomethingWentWrong); +DIVA_IMAGE(tryAgain_t, TryAgain); + +#if IS_TWO_GROUP +DIVA_IMAGE(pushBtnOrScanQR_t, PushBtnOrScanQR); // idle: press a group button or scan the QR +DIVA_IMAGE(holdRfid_t, HoldRFID); // group chosen: tap the card #endif -Image somethingWentWrong_t(SomethingWentWrong::xres, SomethingWentWrong::yres, SomethingWentWrong::pixels); -Image tryAgain_t(TryAgain::xres, TryAgain::yres, TryAgain::pixels); +bool screenRowIsDrawn(int y) { + return (y >= LOGO_Y && y < LOGO_Y + (int)HeadlessLogo::yres) || + (y >= IMAGE_Y && y < IMAGE_Y + (int)IMAGE_HEIGHT); +} -void showImage(Image img) { - graphics.begin(0); // clear screen black - logo_image.draw(graphics, 60, 40); - img.draw(graphics, 90, 100); - graphics.end(); +// Call once in setup(), before the first showImage(). +void displayInit() { + composite.init(); // starts the video signal; shows nothing until frame is set + graphics.init(screenRowIsDrawn); + logo_image.draw(graphics, LOGO_X, LOGO_Y); // never changes composite.sendFrameHalfResolution(&graphics.frame); } +static const unsigned char* shownImagePixels = nullptr; + +// Shows img in the message area. It is drawn only when the picture changes +// (about 1 ms), so calling this on every loop pass costs nothing. +void showImage(Image& img) { + if (img.pixels == shownImagePixels) return; + img.draw(graphics, IMAGE_X, IMAGE_Y); + shownImagePixels = img.pixels; +} + +// The idle screen: what the customer can do on this machine. void showModuleImage() { - #if defined(HAS_RFID_MODULE) && defined(HAS_CASH_MODULE) && defined(HAS_BKASH_MODULE) + #if IS_TWO_GROUP + showImage(pushBtnOrScanQR_t); + #elif defined(HAS_RFID_MODULE) && defined(HAS_CASH_MODULE) && defined(HAS_BKASH_MODULE) showImage(allInOne_t); #elif defined(HAS_RFID_MODULE) && defined(HAS_CASH_MODULE) showImage(allInOne_t); diff --git a/All_in_One/display_CompositeGraphics.h b/All_in_One/display_CompositeGraphics.h index 2af0818..b74be8d 100644 --- a/All_in_One/display_CompositeGraphics.h +++ b/All_in_One/display_CompositeGraphics.h @@ -26,18 +26,46 @@ class CompositeGraphics backColor = -1; } - void init() + // Diva: one framebuffer, drawn in place, holding only the rows that are + // ever drawn (rowIsDrawn(y) true). Every other row shows one shared + // black row; drawing into such a row goes to a scratch row that is never + // shown, so it can't change the screen. The video interrupt reads each + // line through frame[y], so rows can share memory. + // Before: a front and a back buffer of 336x240, allocated as 480 blocks, + // about 165 KB of heap. Now, for the logo + one image: about 58 KB. + // Drawing an image takes about 1 ms, so drawing in place doesn't flicker. + void init(bool (*rowIsDrawn)(int y)) { - frame = (char**)malloc(yres * sizeof(char*)); - backbuffer = (char**)malloc(yres * sizeof(char*)); - //not enough memory for z-buffer implementation - //zbuffer = (char**)malloc(yres * sizeof(char*)); + int drawnRows = 0; + for (int y = 0; y < yres; y++) + if (rowIsDrawn(y)) drawnRows++; + + frame = (char**)malloc(yres * sizeof(char*)); // what is shown + backbuffer = (char**)malloc(yres * sizeof(char*)); // what is drawn into + // the drawn rows, then the shared black row, then the scratch row; + // zeroed = black. One block, so it can't fragment the heap. + char* rows = (char*)calloc((size_t)(drawnRows + 2) * xres, 1); + if (!frame || !backbuffer || !rows) + { + printf("display: out of memory for the framebuffer, restarting\n"); + esp_restart(); + } + char* black = rows + (size_t)drawnRows * xres; + char* scratch = black + xres; for (int y = 0; y < yres; y++) { - frame[y] = (char*)malloc(xres); - backbuffer[y] = (char*)malloc(xres); - //zbuffer[y] = (char*)malloc(xres); + if (rowIsDrawn(y)) + { + frame[y] = backbuffer[y] = rows; + rows += xres; + } + else + { + frame[y] = black; + backbuffer[y] = scratch; + } } + zbuffer = nullptr; } inline void begin(int clear = -1) { @@ -59,10 +87,8 @@ class CompositeGraphics _BB_PIXEL(x, y) = color + _BB_PIXEL(x, y); } + // Single buffer (see init): what is drawn is already shown. inline void end() { - char **b = backbuffer; - backbuffer = frame; - frame = b; } }; diff --git a/All_in_One/i_HoldRfid.h b/All_in_One/i_HoldRfid.h new file mode 100644 index 0000000..2441c0c --- /dev/null +++ b/All_in_One/i_HoldRfid.h @@ -0,0 +1,1307 @@ +namespace HoldRFID { + const unsigned int x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 0, 0, + 0, 2, 0, 0, 0, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 2, 8, 11, 13, 13, + 14, 14, 12, 0, 0, 1, 12, 15, 11, 0, 0, 0, 0, 0, 0, 0, + 0, 11, 15, 12, 0, 0, 12, 15, 14, 3, 0, 0, 0, 0, 11, 15, + 12, 0, 0, 0, 0, 0, 0, 0, 6, 15, 13, 0, 3, 28, 40, 9, + 0, 1, 0, 3, 14, 15, 6, 0, 0, 0, 3, 17, 37, 44, 26, 8, + 0, 0, 0, 0, 10, 15, 13, 2, 0, 0, 0, 0, 10, 15, 13, 2, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, + 0, 7, 110, 193, 219, 229, 238, 238, 239, 247, 210, 8, 0, 10, 215, 255, + 188, 1, 0, 1, 0, 0, 1, 0, 4, 196, 255, 208, 11, 0, 119, 253, + 252, 112, 0, 4, 0, 4, 196, 255, 208, 7, 0, 1, 0, 0, 4, 0, + 98, 255, 219, 91, 214, 247, 248, 233, 97, 0, 0, 58, 239, 255, 101, 0, + 0, 61, 206, 239, 251, 253, 246, 231, 142, 2, 1, 0, 165, 255, 231, 33, + 0, 2, 1, 0, 167, 255, 230, 28, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 172, 255, 253, 255, 255, 255, 255, + 253, 255, 223, 9, 0, 11, 229, 255, 201, 2, 0, 1, 0, 0, 1, 0, + 4, 209, 255, 221, 10, 0, 38, 246, 255, 210, 5, 0, 0, 4, 209, 255, + 221, 8, 0, 1, 0, 0, 4, 0, 106, 255, 248, 241, 255, 255, 254, 255, + 234, 27, 0, 64, 253, 255, 109, 0, 11, 214, 255, 254, 249, 245, 253, 253, + 255, 97, 0, 0, 176, 255, 245, 36, 0, 2, 1, 0, 178, 255, 243, 30, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, + 62, 255, 255, 231, 129, 112, 104, 104, 225, 255, 220, 9, 0, 11, 226, 255, + 198, 1, 0, 1, 1, 1, 2, 0, 5, 207, 255, 219, 8, 0, 0, 165, + 255, 255, 78, 0, 5, 7, 207, 255, 219, 8, 0, 1, 0, 0, 4, 0, + 104, 255, 255, 184, 55, 50, 146, 255, 255, 87, 0, 65, 252, 255, 108, 0, + 50, 246, 255, 158, 21, 20, 68, 238, 255, 154, 0, 0, 175, 255, 244, 36, + 0, 2, 1, 0, 176, 255, 242, 29, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 4, 0, 102, 255, 255, 125, 0, 4, 0, 3, + 205, 255, 220, 9, 0, 11, 227, 255, 199, 1, 0, 1, 0, 0, 1, 0, + 4, 207, 255, 220, 8, 0, 0, 73, 255, 255, 171, 0, 0, 4, 206, 255, + 220, 8, 0, 1, 0, 0, 4, 0, 104, 255, 255, 82, 0, 0, 51, 249, + 255, 113, 0, 65, 253, 255, 110, 0, 74, 255, 255, 98, 0, 2, 6, 212, + 255, 177, 0, 0, 175, 255, 245, 37, 0, 4, 3, 0, 177, 255, 243, 29, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, + 117, 255, 255, 92, 0, 8, 3, 8, 208, 255, 220, 9, 0, 11, 227, 255, + 199, 1, 0, 2, 6, 6, 7, 5, 10, 209, 255, 220, 8, 0, 0, 2, + 202, 255, 244, 94, 72, 80, 221, 255, 220, 8, 0, 1, 0, 0, 4, 0, + 104, 255, 253, 64, 0, 0, 41, 245, 255, 124, 0, 66, 253, 255, 110, 0, + 82, 255, 255, 93, 0, 3, 6, 206, 255, 186, 0, 0, 175, 255, 244, 32, + 0, 2, 1, 0, 174, 255, 243, 29, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 0, 124, 255, 255, 85, 0, 4, 0, 4, + 208, 255, 220, 9, 0, 11, 227, 255, 199, 3, 0, 38, 209, 213, 212, 212, + 213, 245, 255, 221, 8, 0, 0, 64, 230, 255, 251, 255, 255, 255, 253, 255, + 222, 8, 0, 1, 0, 0, 4, 0, 104, 255, 253, 64, 0, 0, 43, 245, + 255, 124, 0, 66, 253, 255, 110, 0, 80, 255, 255, 95, 0, 5, 7, 207, + 255, 185, 0, 0, 176, 255, 249, 173, 159, 162, 161, 158, 224, 255, 245, 29, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, + 131, 255, 255, 79, 0, 4, 0, 4, 208, 255, 220, 9, 0, 11, 227, 255, + 199, 3, 0, 50, 252, 255, 254, 255, 255, 253, 255, 222, 9, 0, 16, 221, + 255, 253, 255, 253, 251, 251, 253, 255, 222, 8, 0, 1, 0, 0, 4, 0, + 104, 255, 255, 91, 0, 0, 61, 253, 255, 111, 0, 65, 253, 255, 110, 0, + 74, 255, 255, 102, 0, 2, 7, 216, 255, 177, 0, 0, 176, 255, 252, 255, + 255, 255, 255, 255, 254, 255, 246, 29, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 5, 0, 126, 255, 255, 82, 0, 4, 0, 4, + 208, 255, 220, 9, 0, 11, 227, 255, 199, 2, 0, 23, 124, 127, 126, 125, + 128, 230, 255, 221, 11, 0, 80, 255, 255, 206, 89, 60, 47, 52, 216, 255, + 220, 8, 0, 1, 0, 0, 4, 0, 105, 255, 255, 212, 95, 85, 184, 255, + 255, 80, 0, 64, 253, 255, 109, 0, 48, 248, 255, 181, 64, 56, 108, 242, + 255, 154, 0, 0, 176, 255, 250, 219, 213, 214, 214, 213, 241, 255, 246, 29, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, + 120, 255, 255, 89, 0, 6, 1, 6, 208, 255, 220, 9, 0, 11, 227, 255, + 199, 1, 0, 1, 0, 0, 1, 0, 3, 205, 255, 220, 12, 0, 108, 255, + 255, 102, 0, 5, 0, 4, 207, 255, 220, 8, 0, 1, 0, 0, 4, 0, + 105, 255, 248, 241, 255, 255, 254, 255, 227, 22, 0, 62, 253, 255, 107, 0, + 6, 202, 255, 253, 255, 255, 255, 253, 255, 86, 0, 0, 175, 255, 245, 41, + 0, 8, 7, 0, 178, 255, 243, 29, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 4, 0, 105, 255, 255, 111, 0, 5, 0, 4, + 207, 255, 220, 9, 0, 11, 227, 255, 199, 1, 0, 1, 0, 0, 1, 0, + 4, 207, 255, 220, 12, 0, 111, 255, 255, 100, 0, 4, 0, 4, 207, 255, + 220, 8, 0, 1, 0, 0, 4, 0, 104, 255, 246, 101, 178, 243, 234, 199, + 64, 0, 0, 61, 253, 255, 107, 0, 0, 35, 157, 214, 232, 238, 224, 193, + 96, 0, 1, 0, 175, 255, 245, 35, 0, 2, 1, 0, 176, 255, 243, 29, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, + 76, 255, 255, 208, 66, 49, 48, 52, 216, 255, 220, 9, 0, 11, 227, 255, + 199, 1, 0, 40, 51, 49, 50, 48, 52, 216, 255, 220, 11, 0, 96, 255, + 255, 190, 56, 49, 48, 52, 216, 255, 220, 8, 0, 1, 0, 0, 4, 0, + 104, 255, 253, 61, 0, 16, 12, 3, 0, 3, 0, 61, 253, 255, 107, 0, + 4, 0, 0, 6, 11, 12, 8, 2, 0, 1, 1, 0, 175, 255, 245, 37, + 0, 3, 2, 0, 177, 255, 243, 29, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 1, 0, 14, 217, 255, 253, 255, 253, 251, 251, + 252, 255, 221, 9, 0, 11, 226, 255, 199, 0, 2, 203, 255, 249, 251, 251, + 251, 252, 255, 221, 9, 0, 36, 239, 255, 254, 253, 251, 251, 251, 252, 255, + 221, 8, 0, 1, 0, 0, 4, 0, 104, 255, 253, 63, 0, 2, 0, 1, + 2, 2, 0, 61, 253, 255, 107, 0, 4, 2, 3, 0, 0, 0, 0, 1, + 3, 1, 1, 0, 174, 255, 244, 36, 0, 2, 1, 0, 176, 255, 242, 29, + 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, + 0, 42, 175, 230, 247, 255, 255, 255, 253, 255, 224, 9, 0, 12, 229, 255, + 202, 0, 3, 209, 255, 253, 255, 255, 255, 253, 255, 224, 9, 0, 0, 83, + 227, 253, 254, 255, 255, 255, 253, 255, 224, 8, 0, 1, 0, 0, 4, 0, + 104, 255, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; +}; \ No newline at end of file diff --git a/All_in_One/i_PushBtnOrScanQR.h b/All_in_One/i_PushBtnOrScanQR.h new file mode 100644 index 0000000..85d61cd --- /dev/null +++ b/All_in_One/i_PushBtnOrScanQR.h @@ -0,0 +1,1307 @@ +namespace PushBtnOrScanQR { + const unsigned int xres = 168; + const unsigned int yres = 124; + const unsigned char pixels[] = { + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0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 0, 0, 0, 0, 0, 12, 128, 144, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 69, 252, 250, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 112, 242, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 41, 132, 154, 164, 151, + 102, 12, 0, 0, 122, 122, 29, 132, 160, 117, 12, 0, 0, 33, 122, 159, + 164, 147, 88, 2, 0, 91, 150, 163, 147, 76, 0, 0, 0, 0, 0, 0, + 104, 127, 68, 0, 0, 0, 90, 127, 62, 0, 0, 138, 255, 222, 163, 163, + 146, 101, 17, 0, 0, 0, 0, 0, 0, 72, 140, 158, 164, 143, 82, 1, + 0, 13, 127, 122, 0, 0, 32, 127, 106, 0, 0, 15, 127, 121, 0, 0, + 0, 0, 0, 0, 58, 127, 77, 0, 0, 79, 127, 56, 0, 52, 127, 68, + 79, 151, 158, 84, 0, 28, 135, 159, 160, 121, 24, 0, 0, 2, 87, 144, + 163, 163, 152, 128, 55, 0, 0, 0, 0, 0, 149, 234, 86, 0, 0, 60, + 127, 73, 0, 0, 6, 88, 139, 162, 163, 146, 101, 17, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 98, 255, 255, 255, 255, 255, 194, 0, 0, 245, 253, 223, 255, + 255, 255, 160, 0, 11, 233, 255, 255, 255, 255, 255, 121, 0, 195, 255, 255, + 255, 255, 99, 0, 0, 0, 0, 0, 128, 255, 214, 0, 0, 0, 181, 255, + 124, 0, 0, 185, 255, 255, 255, 255, 255, 255, 222, 15, 0, 0, 0, 0, + 0, 165, 255, 255, 255, 255, 255, 131, 0, 27, 255, 245, 0, 0, 64, 255, + 212, 0, 0, 31, 255, 242, 0, 0, 0, 0, 0, 0, 117, 255, 154, 0, + 0, 158, 255, 112, 0, 105, 255, 224, 254, 253, 255, 254, 65, 67, 255, 255, + 255, 255, 220, 6, 0, 137, 255, 255, 255, 255, 255, 255, 131, 0, 0, 0, + 0, 0, 154, 255, 173, 0, 0, 121, 255, 147, 0, 0, 190, 255, 255, 255, + 255, 255, 255, 222, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 19, 37, 23, 23, 63, + 247, 255, 26, 0, 245, 255, 151, 58, 110, 255, 239, 0, 62, 255, 234, 45, + 25, 133, 255, 193, 0, 34, 26, 32, 161, 255, 187, 0, 0, 0, 0, 0, + 28, 250, 255, 64, 0, 0, 181, 255, 124, 0, 47, 255, 255, 247, 255, 135, + 110, 248, 255, 90, 0, 0, 0, 0, 0, 31, 32, 21, 27, 112, 255, 217, + 0, 27, 255, 245, 0, 0, 64, 255, 212, 0, 0, 31, 255, 242, 0, 0, + 0, 0, 0, 0, 117, 255, 154, 0, 0, 158, 255, 112, 0, 105, 255, 224, + 27, 2, 159, 255, 113, 13, 36, 23, 63, 245, 255, 59, 0, 236, 255, 161, + 81, 74, 81, 95, 56, 0, 0, 0, 0, 0, 90, 149, 101, 0, 0, 121, + 255, 147, 0, 48, 255, 255, 135, 77, 76, 110, 248, 255, 90, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 44, 64, 64, 64, 64, 227, 255, 53, 0, 245, 255, 40, 0, + 2, 252, 255, 16, 81, 255, 199, 0, 0, 66, 255, 211, 0, 0, 0, 0, + 74, 255, 210, 0, 0, 0, 0, 0, 0, 174, 255, 167, 0, 0, 181, 255, + 124, 0, 85, 255, 233, 96, 217, 183, 4, 193, 255, 121, 0, 0, 0, 0, + 0, 59, 64, 64, 64, 84, 255, 239, 0, 27, 255, 245, 0, 0, 64, 255, + 212, 0, 0, 31, 255, 242, 0, 0, 0, 0, 0, 0, 117, 255, 154, 0, + 0, 158, 255, 112, 0, 105, 255, 186, 44, 45, 175, 255, 99, 0, 0, 0, + 0, 202, 255, 83, 11, 255, 255, 46, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 122, 255, 147, 0, 82, 255, 236, 0, 0, + 0, 0, 193, 255, 121, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179, 255, 255, 255, 255, + 255, 255, 58, 0, 245, 255, 28, 0, 0, 247, 255, 24, 85, 255, 195, 0, + 0, 62, 255, 216, 0, 0, 0, 0, 66, 255, 216, 0, 0, 0, 0, 0, + 0, 114, 255, 248, 187, 187, 233, 255, 124, 0, 96, 255, 219, 0, 0, 0, + 0, 173, 255, 139, 0, 0, 0, 0, 0, 238, 255, 255, 255, 255, 255, 243, + 0, 27, 255, 245, 0, 0, 64, 255, 212, 0, 0, 31, 255, 242, 0, 0, + 0, 0, 0, 0, 117, 255, 154, 0, 0, 159, 255, 112, 0, 105, 255, 255, + 255, 255, 255, 214, 22, 0, 0, 0, 0, 194, 255, 88, 4, 251, 255, 157, + 86, 58, 21, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 142, + 255, 147, 0, 95, 255, 221, 0, 0, 0, 0, 173, 255, 139, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 171, 255, 85, 12, 12, 223, 255, 48, 0, 245, 255, 49, 0, + 6, 253, 254, 11, 79, 255, 201, 0, 0, 68, 255, 210, 0, 0, 0, 0, + 80, 255, 207, 0, 0, 0, 0, 0, 61, 252, 255, 255, 255, 255, 255, 255, + 124, 0, 99, 255, 217, 0, 0, 0, 0, 168, 255, 145, 0, 0, 0, 0, + 0, 231, 255, 21, 12, 42, 255, 235, 0, 23, 255, 251, 2, 0, 81, 255, + 212, 0, 0, 31, 255, 242, 0, 0, 0, 0, 0, 0, 116, 255, 163, 0, + 0, 178, 255, 112, 0, 103, 255, 178, 26, 33, 25, 0, 0, 0, 0, 0, + 0, 207, 255, 79, 0, 201, 255, 255, 255, 255, 254, 195, 28, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 10, 217, 255, 147, 0, 99, 255, 217, 0, 0, + 0, 0, 168, 255, 145, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 144, 255, 168, 65, 95, + 251, 250, 13, 0, 245, 255, 193, 112, 161, 255, 229, 0, 55, 255, 243, 96, + 80, 167, 255, 186, 0, 70, 82, 85, 195, 255, 170, 0, 0, 0, 0, 0, + 154, 255, 206, 70, 54, 54, 195, 255, 124, 0, 98, 255, 218, 0, 0, 0, + 0, 169, 255, 143, 0, 0, 0, 0, 0, 209, 255, 123, 65, 139, 255, 203, + 0, 6, 251, 255, 149, 114, 211, 255, 212, 0, 93, 123, 255, 247, 105, 46, + 0, 0, 0, 0, 100, 255, 233, 116, 133, 247, 255, 112, 0, 83, 255, 231, + 93, 77, 83, 97, 0, 22, 90, 79, 116, 252, 254, 43, 0, 34, 154, 201, + 229, 252, 255, 255, 159, 0, 0, 0, 0, 0, 0, 0, 5, 169, 226, 253, + 255, 147, 0, 98, 255, 218, 0, 0, 0, 0, 169, 255, 143, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 52, 243, 255, 255, 255, 255, 142, 0, 0, 245, 255, 209, 255, + 255, 255, 122, 0, 4, 207, 255, 255, 255, 255, 252, 91, 0, 181, 255, 255, + 255, 242, 52, 0, 0, 0, 0, 0, 184, 255, 128, 0, 0, 0, 181, 255, + 124, 0, 90, 255, 226, 0, 0, 0, 0, 179, 255, 131, 0, 0, 0, 0, + 0, 107, 254, 255, 255, 255, 249, 83, 0, 0, 177, 255, 255, 255, 199, 255, + 212, 0, 226, 255, 255, 255, 255, 112, 0, 0, 0, 0, 33, 242, 255, 255, + 248, 196, 255, 112, 0, 14, 217, 255, 255, 255, 255, 252, 0, 54, 255, 255, + 255, 255, 167, 0, 0, 0, 0, 0, 0, 7, 138, 255, 206, 0, 0, 0, + 0, 0, 0, 0, 9, 255, 247, 157, 255, 147, 0, 90, 255, 226, 0, 0, + 0, 0, 179, 255, 131, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25, 88, 105, 96, + 50, 0, 0, 0, 245, 255, 35, 82, 102, 65, 0, 0, 0, 7, 72, 101, + 105, 92, 39, 0, 0, 45, 91, 104, 90, 25, 0, 0, 0, 0, 0, 0, + 175, 255, 167, 0, 0, 0, 181, 255, 124, 0, 70, 255, 249, 23, 0, 0, + 6, 222, 255, 109, 0, 0, 0, 0, 0, 0, 44, 95, 105, 90, 30, 0, + 0, 0, 7, 78, 99, 63, 64, 255, 212, 0, 69, 99, 255, 245, 79, 34, + 0, 0, 0, 0, 0, 32, 96, 97, 35, 38, 79, 34, 0, 0, 10, 77, + 103, 103, 91, 63, 0, 11, 78, 99, 102, 65, 1, 0, 0, 0, 0, 0, + 0, 0, 115, 255, 204, 0, 0, 0, 0, 0, 0, 0, 3, 96, 34, 29, + 79, 45, 0, 70, 255, 249, 23, 0, 0, 6, 222, 255, 109, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 245, 255, 27, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 114, 255, 255, 240, 229, 229, 247, 255, + 124, 0, 18, 245, 255, 237, 204, 202, 229, 255, 254, 54, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 64, 255, + 212, 0, 0, 31, 255, 242, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 128, 222, 207, 202, 213, 251, 255, 147, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18, 245, 255, 237, 204, + 202, 229, 255, 254, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 245, 255, 27, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 8, 151, 236, 254, 255, 255, 255, 255, 124, 0, 0, 79, 216, 254, 255, 255, + 255, 228, 112, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 64, 255, 212, 0, 0, 17, 142, 135, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15, + 123, 151, 163, 157, 119, 31, 0, 0, 122, 127, 127, 127, 127, 127, 67, 0, + 97, 127, 42, 0, 15, 115, 158, 164, 150, 123, 12, 0, 0, 0, 0, 30, + 127, 93, 57, 146, 156, 92, 0, 0, 38, 127, 86, 64, 146, 160, 100, 1, + 0, 7, 111, 159, 138, 40, 248, 255, 20, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 37, 255, 255, 255, 255, 255, 236, 22, 0, + 245, 255, 255, 255, 255, 255, 134, 0, 195, 255, 84, 0, 174, 255, 255, 255, + 255, 255, 29, 0, 0, 0, 0, 60, 255, 230, 248, 255, 255, 255, 95, 0, + 77, 255, 228, 251, 252, 255, 255, 94, 0, 135, 255, 255, 255, 236, 252, 255, + 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, + 41, 25, 21, 43, 212, 255, 89, 0, 51, 54, 54, 143, 255, 245, 53, 0, + 195, 255, 84, 0, 231, 255, 52, 16, 23, 40, 5, 0, 0, 0, 0, 60, + 255, 254, 103, 58, 157, 255, 180, 0, 77, 255, 242, 41, 0, 130, 255, 148, + 0, 217, 255, 132, 62, 134, 255, 255, 20, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 27, 64, 64, 64, 64, 180, 255, 111, 0, + 0, 0, 61, 247, 253, 87, 0, 0, 195, 255, 84, 0, 226, 255, 157, 111, + 81, 20, 0, 0, 0, 0, 0, 60, 255, 228, 0, 0, 68, 255, 209, 0, + 77, 255, 212, 44, 44, 150, 255, 130, 0, 243, 255, 28, 0, 6, 253, 255, + 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 110, + 255, 255, 255, 255, 255, 255, 116, 0, 0, 36, 235, 255, 123, 0, 0, 0, + 195, 255, 84, 0, 138, 254, 255, 255, 255, 237, 23, 0, 0, 0, 0, 60, + 255, 218, 0, 0, 62, 255, 215, 0, 77, 255, 255, 255, 255, 255, 227, 40, + 0, 249, 255, 20, 0, 0, 249, 255, 20, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 104, 255, 142, 12, 12, 164, 255, 107, 0, + 18, 216, 255, 160, 0, 0, 0, 0, 195, 255, 84, 0, 0, 26, 63, 91, + 210, 255, 80, 0, 0, 0, 0, 60, 255, 235, 0, 0, 73, 255, 205, 0, + 74, 255, 207, 25, 33, 28, 2, 0, 0, 240, 255, 33, 0, 20, 254, 255, + 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82, + 255, 212, 71, 75, 224, 255, 75, 0, 186, 255, 241, 112, 105, 105, 37, 0, + 195, 255, 84, 0, 49, 86, 76, 78, 206, 255, 77, 0, 0, 0, 0, 60, + 255, 255, 158, 112, 196, 255, 168, 0, 53, 255, 244, 100, 78, 82, 96, 14, + 0, 207, 255, 171, 108, 177, 255, 255, 20, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 14, 219, 255, 255, 255, 255, 198, 6, 0, + 238, 255, 255, 255, 255, 255, 91, 0, 195, 255, 84, 0, 124, 255, 255, 255, + 255, 226, 14, 0, 0, 0, 0, 60, 255, 234, 232, 255, 255, 250, 62, 0, + 3, 195, 255, 255, 255, 255, 255, 35, 0, 98, 254, 255, 255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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 15, 123, 151, 163, 157, 119, 31, 0, 0, 24, 124, 160, 163, + 147, 116, 0, 0, 33, 122, 159, 164, 147, 88, 2, 0, 0, 73, 140, 163, + 161, 130, 48, 0, 0, 77, 127, 58, 0, 0, 95, 127, 42, 0, 123, 155, + 163, 135, 48, 0, 0, 0, 0, 0, 0, 13, 106, 154, 164, 154, 108, 15, + 0, 0, 15, 127, 121, 0, 0, 0, 0, 0, 0, 58, 127, 77, 0, 0, + 79, 127, 56, 0, 0, 73, 140, 163, 161, 130, 48, 0, 0, 0, 95, 127, + 43, 0, 0, 0, 110, 127, 28, 0, 0, 122, 123, 29, 131, 161, 125, 17, + 0, 0, 15, 120, 160, 131, 29, 126, 120, 0, 0, 0, 0, 0, 1, 93, + 152, 164, 155, 130, 39, 0, 24, 124, 160, 163, 147, 116, 0, 0, 118, 149, + 162, 159, 126, 42, 0, 0, 0, 0, 110, 127, 27, 0, 0, 0, 0, 0, + 0, 27, 127, 126, 0, 0, 0, 0, 0, 0, 0, 37, 255, 255, 255, 255, + 255, 236, 22, 0, 204, 255, 255, 255, 255, 247, 0, 11, 233, 255, 255, 255, + 255, 255, 121, 0, 84, 254, 255, 255, 255, 255, 247, 34, 0, 154, 255, 117, + 0, 0, 191, 255, 84, 0, 252, 255, 255, 255, 247, 44, 0, 0, 0, 0, + 0, 181, 255, 255, 255, 255, 255, 185, 0, 0, 31, 255, 242, 0, 0, 0, + 0, 0, 0, 117, 255, 154, 0, 0, 158, 255, 112, 0, 84, 254, 255, 255, + 255, 255, 247, 34, 0, 0, 191, 255, 86, 0, 0, 0, 221, 255, 56, 0, + 0, 245, 253, 224, 255, 255, 255, 168, 0, 0, 169, 255, 255, 255, 225, 255, + 240, 0, 0, 0, 0, 0, 108, 255, 255, 255, 255, 255, 91, 0, 204, 255, + 255, 255, 255, 247, 0, 0, 253, 255, 255, 255, 255, 247, 44, 0, 0, 0, + 221, 255, 54, 0, 0, 0, 0, 0, 0, 54, 255, 252, 0, 0, 0, 0, + 0, 0, 0, 7, 41, 25, 21, 43, 212, 255, 89, 8, 254, 241, 37, 16, + 25, 41, 0, 62, 255, 234, 45, 25, 133, 255, 193, 0, 157, 255, 162, 28, + 36, 210, 255, 95, 0, 154, 255, 117, 0, 0, 191, 255, 84, 0, 41, 23, + 42, 210, 255, 118, 0, 0, 0, 0, 1, 247, 255, 82, 24, 76, 255, 249, + 2, 0, 31, 255, 242, 0, 0, 0, 0, 0, 0, 117, 255, 154, 0, 0, + 158, 255, 112, 0, 157, 255, 162, 28, 36, 210, 255, 95, 0, 0, 191, 255, + 86, 0, 0, 0, 221, 255, 56, 0, 0, 245, 255, 152, 62, 128, 255, 227, + 0, 2, 244, 255, 104, 58, 153, 255, 240, 0, 0, 0, 0, 0, 171, 255, + 112, 18, 20, 35, 17, 8, 254, 241, 37, 16, 25, 41, 0, 0, 44, 27, + 21, 37, 188, 255, 118, 0, 0, 0, 221, 255, 54, 0, 0, 0, 0, 0, + 0, 54, 255, 252, 0, 0, 0, 0, 0, 0, 0, 27, 64, 64, 64, 64, + 180, 255, 111, 3, 251, 250, 145, 107, 76, 14, 0, 81, 255, 199, 0, 0, + 66, 255, 211, 0, 178, 255, 100, 0, 0, 161, 255, 112, 0, 154, 255, 117, + 0, 0, 191, 255, 84, 0, 0, 0, 0, 133, 255, 146, 0, 0, 0, 0, + 16, 255, 254, 2, 0, 0, 250, 255, 20, 0, 31, 255, 242, 0, 0, 0, + 0, 0, 0, 117, 255, 154, 0, 0, 158, 255, 112, 0, 178, 255, 100, 0, + 0, 161, 255, 112, 0, 0, 191, 255, 86, 0, 0, 0, 221, 255, 56, 0, + 0, 245, 255, 38, 0, 36, 255, 239, 0, 24, 255, 246, 0, 0, 43, 255, + 240, 0, 0, 0, 0, 0, 164, 255, 188, 118, 89, 38, 0, 3, 251, 250, + 145, 107, 76, 14, 0, 20, 64, 64, 64, 64, 153, 255, 146, 0, 0, 0, + 222, 255, 54, 0, 0, 0, 0, 3, 4, 56, 255, 252, 0, 0, 0, 0, + 0, 0, 0, 110, 255, 255, 255, 255, 255, 255, 116, 0, 169, 255, 255, 255, + 255, 221, 7, 85, 255, 195, 0, 0, 62, 255, 216, 0, 182, 255, 97, 0, + 0, 157, 255, 116, 0, 154, 255, 117, 0, 0, 192, 255, 84, 0, 0, 0, + 0, 123, 255, 152, 0, 0, 0, 0, 21, 255, 252, 0, 0, 0, 247, 255, + 25, 0, 31, 255, 242, 0, 0, 0, 0, 0, 0, 117, 255, 154, 0, 0, + 159, 255, 112, 0, 182, 255, 97, 0, 0, 157, 255, 116, 0, 0, 191, 255, + 86, 0, 0, 0, 221, 255, 56, 0, 0, 245, 255, 27, 0, 31, 255, 240, + 0, 31, 255, 240, 0, 0, 33, 255, 240, 0, 0, 0, 0, 0, 79, 248, + 255, 255, 255, 252, 71, 0, 169, 255, 255, 255, 255, 221, 7, 82, 255, 255, + 255, 255, 255, 255, 152, 0, 0, 0, 237, 255, 54, 0, 32, 189, 246, 255, + 255, 255, 255, 252, 0, 0, 0, 0, 0, 0, 0, 104, 255, 142, 12, 12, + 164, 255, 107, 0, 0, 32, 66, 95, 227, 255, 50, 79, 255, 201, 0, 0, + 68, 255, 210, 0, 176, 255, 102, 0, 0, 164, 255, 111, 0, 151, 255, 125, + 0, 0, 208, 255, 84, 0, 0, 0, 0, 141, 255, 140, 0, 0, 0, 0, + 13, 255, 254, 5, 0, 2, 252, 255, 17, 0, 31, 255, 242, 0, 0, 0, + 0, 0, 0, 116, 255, 163, 0, 0, 178, 255, 112, 0, 176, 255, 102, 0, + 0, 164, 255, 111, 0, 0, 191, 255, 86, 0, 0, 0, 221, 255, 56, 0, + 0, 245, 255, 27, 0, 31, 255, 240, 0, 19, 255, 249, 3, 0, 52, 255, + 240, 0, 0, 0, 0, 0, 0, 15, 56, 83, 169, 255, 142, 0, 0, 32, + 66, 95, 227, 255, 50, 75, 255, 176, 12, 12, 129, 255, 140, 0, 0, 68, + 255, 255, 54, 0, 192, 255, 253, 231, 226, 231, 255, 252, 0, 0, 0, 0, + 0, 0, 0, 82, 255, 212, 71, 75, 224, 255, 75, 0, 63, 84, 75, 81, + 225, 255, 46, 55, 255, 243, 96, 80, 167, 255, 186, 0, 149, 255, 191, 82, + 88, 226, 255, 89, 0, 130, 255, 218, 113, 144, 253, 255, 84, 0, 89, 79, + 94, 230, 255, 103, 0, 0, 0, 0, 0, 241, 255, 130, 79, 126, 255, 244, + 0, 93, 123, 255, 247, 105, 46, 0, 0, 0, 0, 100, 255, 233, 116, 133, + 247, 255, 112, 0, 149, 255, 191, 82, 88, 226, 255, 89, 52, 105, 217, 255, + 155, 87, 68, 105, 234, 255, 137, 75, 0, 245, 255, 27, 0, 31, 255, 240, + 0, 0, 235, 255, 157, 112, 196, 255, 240, 0, 0, 0, 0, 0, 27, 91, + 77, 75, 162, 255, 138, 0, 63, 84, 75, 81, 225, 255, 46, 51, 255, 230, + 76, 71, 204, 255, 104, 67, 183, 246, 253, 255, 54, 2, 249, 255, 84, 0, + 0, 54, 255, 252, 0, 0, 0, 0, 0, 0, 0, 14, 219, 255, 255, 255, + 255, 198, 6, 0, 163, 255, 255, 255, 255, 206, 2, 4, 207, 255, 255, 255, + 255, 252, 91, 0, 60, 247, 255, 255, 255, 255, 228, 20, 0, 56, 249, 255, + 255, 235, 218, 255, 84, 0, 240, 255, 255, 255, 215, 16, 0, 0, 0, 0, + 0, 148, 255, 255, 255, 255, 255, 153, 0, 226, 255, 255, 255, 255, 112, 0, + 0, 0, 0, 33, 242, 255, 255, 248, 196, 255, 112, 0, 60, 247, 255, 255, + 255, 255, 228, 20, 126, 255, 255, 255, 255, 212, 165, 255, 255, 255, 255, 181, + 0, 245, 255, 27, 0, 31, 255, 240, 0, 0, 129, 255, 255, 255, 208, 255, + 240, 0, 0, 0, 0, 0, 67, 255, 255, 255, 255, 247, 57, 0, 163, 255, + 255, 255, 255, 206, 2, 2, 197, 255, 255, 255, 255, 218, 19, 105, 255, 203, + 203, 255, 54, 15, 255, 255, 42, 0, 0, 54, 255, 252, 0, 0, 0, 0, + 0, 0, 0, 0, 11, 78, 103, 101, 68, 3, 0, 0, 38, 87, 101, 103, + 78, 9, 0, 0, 7, 72, 101, 105, 92, 39, 0, 0, 0, 28, 87, 105, + 103, 79, 14, 0, 0, 0, 40, 96, 90, 22, 191, 255, 84, 0, 65, 96, + 104, 80, 10, 0, 0, 0, 0, 0, 0, 0, 57, 97, 106, 97, 58, 0, + 0, 69, 99, 255, 245, 79, 34, 0, 0, 0, 0, 0, 32, 96, 97, 35, + 38, 79, 34, 0, 0, 28, 87, 105, 103, 79, 14, 0, 38, 79, 210, 255, + 137, 65, 51, 79, 230, 255, 116, 56, 0, 75, 79, 8, 0, 9, 79, 74, + 0, 0, 1, 68, 102, 79, 36, 255, 240, 0, 0, 0, 0, 0, 14, 77, + 97, 104, 92, 33, 0, 0, 38, 87, 101, 103, 78, 9, 0, 0, 5, 71, + 102, 103, 75, 8, 0, 42, 82, 10, 60, 79, 16, 2, 250, 255, 82, 0, + 0, 54, 255, 252, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 191, 255, 84, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 255, 242, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 191, 255, 86, 0, 0, 0, 221, 255, 56, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 255, + 240, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 196, 255, 253, 233, 229, 234, 255, 252, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 191, 255, 84, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 17, 142, 135, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, }; +}; \ No newline at end of file diff --git a/All_in_One/src/ArduinoJson/ArduinoJson.h b/All_in_One/src/ArduinoJson/ArduinoJson.h new file mode 100644 index 0000000..9d5927d --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson.h @@ -0,0 +1,17 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#ifdef __cplusplus + +# include "ArduinoJson.hpp" + +using namespace ArduinoJson; + +#else + +#error ArduinoJson requires a C++ compiler, please change file extension to .cc or .cpp + +#endif diff --git a/All_in_One/src/ArduinoJson/ArduinoJson.hpp b/All_in_One/src/ArduinoJson/ArduinoJson.hpp new file mode 100644 index 0000000..fdaf786 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson.hpp @@ -0,0 +1,65 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#if __cplusplus < 201103L && (!defined(_MSC_VER) || _MSC_VER < 1910) +# error ArduinoJson requires C++11 or newer. Configure your compiler for C++11 or downgrade ArduinoJson to 6.20. +#endif + +#include "ArduinoJson/Configuration.hpp" + +// Include Arduino.h before stdlib.h to avoid conflict with atexit() +// https://github.com/bblanchon/ArduinoJson/pull/1693#issuecomment-1001060240 +#if ARDUINOJSON_ENABLE_ARDUINO_STRING || ARDUINOJSON_ENABLE_ARDUINO_STREAM || \ + ARDUINOJSON_ENABLE_ARDUINO_PRINT || \ + (ARDUINOJSON_ENABLE_PROGMEM && defined(ARDUINO)) +# include +#endif + +#if !ARDUINOJSON_DEBUG +# ifdef __clang__ +# pragma clang system_header +# elif defined __GNUC__ +# pragma GCC system_header +# endif +#endif + +// Remove true and false macros defined by some cores, such as Arduino Due's +// See issues #2181 and arduino/ArduinoCore-sam#50 +#ifdef true +# undef true +#endif +#ifdef false +# undef false +#endif + +#include "ArduinoJson/Array/JsonArray.hpp" +#include "ArduinoJson/Object/JsonObject.hpp" +#include "ArduinoJson/Variant/JsonVariantConst.hpp" + +#include "ArduinoJson/Document/JsonDocument.hpp" + +#include "ArduinoJson/Array/ArrayImpl.hpp" +#include "ArduinoJson/Array/ElementProxy.hpp" +#include "ArduinoJson/Array/Utilities.hpp" +#include "ArduinoJson/Collection/CollectionImpl.hpp" +#include "ArduinoJson/Memory/ResourceManagerImpl.hpp" +#include "ArduinoJson/Object/MemberProxy.hpp" +#include "ArduinoJson/Object/ObjectImpl.hpp" +#include "ArduinoJson/Variant/ConverterImpl.hpp" +#include "ArduinoJson/Variant/JsonVariantCopier.hpp" +#include "ArduinoJson/Variant/VariantCompare.hpp" +#include "ArduinoJson/Variant/VariantImpl.hpp" +#include "ArduinoJson/Variant/VariantRefBaseImpl.hpp" + +#include "ArduinoJson/Json/JsonDeserializer.hpp" +#include "ArduinoJson/Json/JsonSerializer.hpp" +#include "ArduinoJson/Json/PrettyJsonSerializer.hpp" +#include "ArduinoJson/MsgPack/MsgPackBinary.hpp" +#include "ArduinoJson/MsgPack/MsgPackDeserializer.hpp" +#include "ArduinoJson/MsgPack/MsgPackExtension.hpp" +#include "ArduinoJson/MsgPack/MsgPackSerializer.hpp" + +#include "ArduinoJson/compatibility.hpp" diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/ArrayData.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/ArrayData.hpp new file mode 100644 index 0000000..d308042 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/ArrayData.hpp @@ -0,0 +1,66 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Collection/CollectionData.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +class ArrayData : public CollectionData { + public: + VariantData* addElement(ResourceManager* resources); + + static VariantData* addElement(ArrayData* array, ResourceManager* resources) { + if (!array) + return nullptr; + return array->addElement(resources); + } + + template + bool addValue(const T& value, ResourceManager* resources); + + template + static bool addValue(ArrayData* array, const T& value, + ResourceManager* resources) { + if (!array) + return false; + return array->addValue(value, resources); + } + + VariantData* getOrAddElement(size_t index, ResourceManager* resources); + + VariantData* getElement(size_t index, const ResourceManager* resources) const; + + static VariantData* getElement(const ArrayData* array, size_t index, + const ResourceManager* resources) { + if (!array) + return nullptr; + return array->getElement(index, resources); + } + + void removeElement(size_t index, ResourceManager* resources); + + static void removeElement(ArrayData* array, size_t index, + ResourceManager* resources) { + if (!array) + return; + array->removeElement(index, resources); + } + + void remove(iterator it, ResourceManager* resources) { + CollectionData::removeOne(it, resources); + } + + static void remove(ArrayData* array, iterator it, + ResourceManager* resources) { + if (array) + return array->remove(it, resources); + } + + private: + iterator at(size_t index, const ResourceManager* resources) const; +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/ArrayImpl.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/ArrayImpl.hpp new file mode 100644 index 0000000..e061c30 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/ArrayImpl.hpp @@ -0,0 +1,79 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "ArrayData.hpp" +#include "../Variant/VariantCompare.hpp" +#include "../Variant/VariantData.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +inline ArrayData::iterator ArrayData::at( + size_t index, const ResourceManager* resources) const { + auto it = createIterator(resources); + while (!it.done() && index) { + it.next(resources); + --index; + } + return it; +} + +inline VariantData* ArrayData::addElement(ResourceManager* resources) { + auto slot = resources->allocVariant(); + if (!slot) + return nullptr; + CollectionData::appendOne(slot, resources); + return slot.ptr(); +} + +inline VariantData* ArrayData::getOrAddElement(size_t index, + ResourceManager* resources) { + auto it = createIterator(resources); + while (!it.done() && index > 0) { + it.next(resources); + index--; + } + if (it.done()) + index++; + VariantData* element = it.data(); + while (index > 0) { + element = addElement(resources); + if (!element) + return nullptr; + index--; + } + return element; +} + +inline VariantData* ArrayData::getElement( + size_t index, const ResourceManager* resources) const { + return at(index, resources).data(); +} + +inline void ArrayData::removeElement(size_t index, ResourceManager* resources) { + remove(at(index, resources), resources); +} + +template +inline bool ArrayData::addValue(const T& value, ResourceManager* resources) { + ARDUINOJSON_ASSERT(resources != nullptr); + auto slot = resources->allocVariant(); + if (!slot) + return false; + JsonVariant variant(slot.ptr(), resources); + if (!variant.set(value)) { + resources->freeVariant(slot); + return false; + } + CollectionData::appendOne(slot, resources); + return true; +} + +// Returns the size (in bytes) of an array with n elements. +constexpr size_t sizeofArray(size_t n) { + return n * ResourceManager::slotSize; +} + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/ElementProxy.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/ElementProxy.hpp new file mode 100644 index 0000000..a4968c1 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/ElementProxy.hpp @@ -0,0 +1,75 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Variant/VariantRefBase.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +// A proxy class to get or set an element of an array. +// https://arduinojson.org/v7/api/jsonarray/subscript/ +template +class ElementProxy : public VariantRefBase>, + public VariantOperators> { + friend class VariantAttorney; + + friend class VariantRefBase>; + + template + friend class MemberProxy; + + template + friend class ElementProxy; + + public: + ElementProxy(TUpstream upstream, size_t index) + : upstream_(upstream), index_(index) {} + + ElementProxy& operator=(const ElementProxy& src) { + this->set(src); + return *this; + } + + template + ElementProxy& operator=(const T& src) { + this->set(src); + return *this; + } + + template + ElementProxy& operator=(T* src) { + this->set(src); + return *this; + } + + private: + // clang-format off + ElementProxy(const ElementProxy& src) // Error here? See https://arduinojson.org/v7/proxy-non-copyable/ + : upstream_(src.upstream_), index_(src.index_) {} + // clang-format on + + ResourceManager* getResourceManager() const { + return VariantAttorney::getResourceManager(upstream_); + } + + FORCE_INLINE VariantData* getData() const { + return VariantData::getElement( + VariantAttorney::getData(upstream_), index_, + VariantAttorney::getResourceManager(upstream_)); + } + + VariantData* getOrCreateData() const { + auto data = VariantAttorney::getOrCreateData(upstream_); + if (!data) + return nullptr; + return data->getOrAddElement( + index_, VariantAttorney::getResourceManager(upstream_)); + } + + TUpstream upstream_; + size_t index_; +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArray.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArray.hpp new file mode 100644 index 0000000..47652ca --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArray.hpp @@ -0,0 +1,219 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "ElementProxy.hpp" +#include "JsonArrayConst.hpp" + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +class JsonObject; + +// A reference to an array in a JsonDocument +// https://arduinojson.org/v7/api/jsonarray/ +class JsonArray : public detail::VariantOperators { + friend class detail::VariantAttorney; + + public: + using iterator = JsonArrayIterator; + + // Constructs an unbound reference. + JsonArray() : data_(0), resources_(0) {} + + // INTERNAL USE ONLY + JsonArray(detail::ArrayData* data, detail::ResourceManager* resources) + : data_(data), resources_(resources) {} + + // Returns a JsonVariant pointing to the array. + // https://arduinojson.org/v7/api/jsonvariant/ + operator JsonVariant() { + void* data = data_; // prevent warning cast-align + return JsonVariant(reinterpret_cast(data), + resources_); + } + + // Returns a read-only reference to the array. + // https://arduinojson.org/v7/api/jsonarrayconst/ + operator JsonArrayConst() const { + return JsonArrayConst(data_, resources_); + } + + // Appends a new (empty) element to the array. + // Returns a reference to the new element. + // https://arduinojson.org/v7/api/jsonarray/add/ + template ::value, int> = 0> + T add() const { + return add().to(); + } + + // Appends a new (null) element to the array. + // Returns a reference to the new element. + // https://arduinojson.org/v7/api/jsonarray/add/ + template ::value, int> = 0> + JsonVariant add() const { + return JsonVariant(detail::ArrayData::addElement(data_, resources_), + resources_); + } + + // Appends a value to the array. + // https://arduinojson.org/v7/api/jsonarray/add/ + template + bool add(const T& value) const { + return detail::ArrayData::addValue(data_, value, resources_); + } + + // Appends a value to the array. + // https://arduinojson.org/v7/api/jsonarray/add/ + template ::value, int> = 0> + bool add(T* value) const { + return detail::ArrayData::addValue(data_, value, resources_); + } + + // Returns an iterator to the first element of the array. + // https://arduinojson.org/v7/api/jsonarray/begin/ + iterator begin() const { + if (!data_) + return iterator(); + return iterator(data_->createIterator(resources_), resources_); + } + + // Returns an iterator following the last element of the array. + // https://arduinojson.org/v7/api/jsonarray/end/ + iterator end() const { + return iterator(); + } + + // Copies an array. + // https://arduinojson.org/v7/api/jsonarray/set/ + bool set(JsonArrayConst src) const { + if (!data_) + return false; + + clear(); + for (auto element : src) { + if (!add(element)) + return false; + } + + return true; + } + + // Removes the element at the specified iterator. + // https://arduinojson.org/v7/api/jsonarray/remove/ + void remove(iterator it) const { + detail::ArrayData::remove(data_, it.iterator_, resources_); + } + + // Removes the element at the specified index. + // https://arduinojson.org/v7/api/jsonarray/remove/ + void remove(size_t index) const { + detail::ArrayData::removeElement(data_, index, resources_); + } + + // Removes the element at the specified index. + // https://arduinojson.org/v7/api/jsonarray/remove/ + template ::value, int> = 0> + void remove(const TVariant& variant) const { + if (variant.template is()) + remove(variant.template as()); + } + + // Removes all the elements of the array. + // https://arduinojson.org/v7/api/jsonarray/clear/ + void clear() const { + detail::ArrayData::clear(data_, resources_); + } + + // Gets or sets the element at the specified index. + // https://arduinojson.org/v7/api/jsonarray/subscript/ + template ::value, int> = 0> + detail::ElementProxy operator[](T index) const { + return {*this, size_t(index)}; + } + + // Gets or sets the element at the specified index. + // https://arduinojson.org/v7/api/jsonarray/subscript/ + template ::value, int> = 0> + detail::ElementProxy operator[](const TVariant& variant) const { + if (variant.template is()) + return {*this, variant.template as()}; + else + return {*this, size_t(-1)}; + } + + operator JsonVariantConst() const { + return JsonVariantConst(collectionToVariant(data_), resources_); + } + + // Returns true if the reference is unbound. + // https://arduinojson.org/v7/api/jsonarray/isnull/ + bool isNull() const { + return data_ == 0; + } + + // Returns true if the reference is bound. + // https://arduinojson.org/v7/api/jsonarray/isnull/ + operator bool() const { + return data_ != 0; + } + + // Returns the depth (nesting level) of the array. + // https://arduinojson.org/v7/api/jsonarray/nesting/ + size_t nesting() const { + return detail::VariantData::nesting(collectionToVariant(data_), resources_); + } + + // Returns the number of elements in the array. + // https://arduinojson.org/v7/api/jsonarray/size/ + size_t size() const { + return data_ ? data_->size(resources_) : 0; + } + + // DEPRECATED: use add() instead + ARDUINOJSON_DEPRECATED("use add() instead") + JsonVariant add() const { + return add(); + } + + // DEPRECATED: use add() instead + ARDUINOJSON_DEPRECATED("use add() instead") + JsonArray createNestedArray() const { + return add(); + } + + // DEPRECATED: use add() instead + ARDUINOJSON_DEPRECATED("use add() instead") + JsonObject createNestedObject() const; + + // DEPRECATED: always returns zero + ARDUINOJSON_DEPRECATED("always returns zero") + size_t memoryUsage() const { + return 0; + } + + private: + detail::ResourceManager* getResourceManager() const { + return resources_; + } + + detail::VariantData* getData() const { + return collectionToVariant(data_); + } + + detail::VariantData* getOrCreateData() const { + return collectionToVariant(data_); + } + + detail::ArrayData* data_; + detail::ResourceManager* resources_; +}; + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArrayConst.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArrayConst.hpp new file mode 100644 index 0000000..60fe3bf --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArrayConst.hpp @@ -0,0 +1,133 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "JsonArrayIterator.hpp" +#include "../Variant/VariantAttorney.hpp" +#include "../Variant/VariantData.hpp" + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +class JsonObject; + +// A read-only reference to an array in a JsonDocument +// https://arduinojson.org/v7/api/jsonarrayconst/ +class JsonArrayConst : public detail::VariantOperators { + friend class JsonArray; + friend class detail::VariantAttorney; + + public: + using iterator = JsonArrayConstIterator; + + // Returns an iterator to the first element of the array. + // https://arduinojson.org/v7/api/jsonarrayconst/begin/ + iterator begin() const { + if (!data_) + return iterator(); + return iterator(data_->createIterator(resources_), resources_); + } + + // Returns an iterator to the element following the last element of the array. + // https://arduinojson.org/v7/api/jsonarrayconst/end/ + iterator end() const { + return iterator(); + } + + // Creates an unbound reference. + JsonArrayConst() : data_(0), resources_(0) {} + + // INTERNAL USE ONLY + JsonArrayConst(const detail::ArrayData* data, + const detail::ResourceManager* resources) + : data_(data), resources_(resources) {} + + // Returns the element at the specified index. + // https://arduinojson.org/v7/api/jsonarrayconst/subscript/ + template ::value, int> = 0> + JsonVariantConst operator[](T index) const { + return JsonVariantConst( + detail::ArrayData::getElement(data_, size_t(index), resources_), + resources_); + } + + // Returns the element at the specified index. + // https://arduinojson.org/v7/api/jsonarrayconst/subscript/ + template ::value, int> = 0> + JsonVariantConst operator[](const TVariant& variant) const { + if (variant.template is()) + return operator[](variant.template as()); + else + return JsonVariantConst(); + } + + operator JsonVariantConst() const { + return JsonVariantConst(getData(), resources_); + } + + // Returns true if the reference is unbound. + // https://arduinojson.org/v7/api/jsonarrayconst/isnull/ + bool isNull() const { + return data_ == 0; + } + + // Returns true if the reference is bound. + // https://arduinojson.org/v7/api/jsonarrayconst/isnull/ + operator bool() const { + return data_ != 0; + } + + // Returns the depth (nesting level) of the array. + // https://arduinojson.org/v7/api/jsonarrayconst/nesting/ + size_t nesting() const { + return detail::VariantData::nesting(getData(), resources_); + } + + // Returns the number of elements in the array. + // https://arduinojson.org/v7/api/jsonarrayconst/size/ + size_t size() const { + return data_ ? data_->size(resources_) : 0; + } + + // DEPRECATED: always returns zero + ARDUINOJSON_DEPRECATED("always returns zero") + size_t memoryUsage() const { + return 0; + } + + private: + const detail::VariantData* getData() const { + return collectionToVariant(data_); + } + + const detail::ArrayData* data_; + const detail::ResourceManager* resources_; +}; + +// Compares the content of two arrays. +// Returns true if the two arrays are equal. +inline bool operator==(JsonArrayConst lhs, JsonArrayConst rhs) { + if (!lhs && !rhs) + return true; + if (!lhs || !rhs) + return false; + + auto a = lhs.begin(); + auto b = rhs.begin(); + + for (;;) { + if (a == b) // same pointer or both null + return true; + if (a == lhs.end() || b == rhs.end()) + return false; + if (*a != *b) + return false; + ++a; + ++b; + } +} + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArrayIterator.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArrayIterator.hpp new file mode 100644 index 0000000..ac704d5 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/JsonArrayIterator.hpp @@ -0,0 +1,96 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Variant/JsonVariant.hpp" + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +template +class Ptr { + public: + Ptr(T value) : value_(value) {} + + T* operator->() { + return &value_; + } + + T& operator*() { + return value_; + } + + private: + T value_; +}; + +class JsonArrayIterator { + friend class JsonArray; + + public: + JsonArrayIterator() {} + explicit JsonArrayIterator(detail::ArrayData::iterator iterator, + detail::ResourceManager* resources) + : iterator_(iterator), resources_(resources) {} + + JsonVariant operator*() { + return JsonVariant(iterator_.data(), resources_); + } + Ptr operator->() { + return operator*(); + } + + bool operator==(const JsonArrayIterator& other) const { + return iterator_ == other.iterator_; + } + + bool operator!=(const JsonArrayIterator& other) const { + return iterator_ != other.iterator_; + } + + JsonArrayIterator& operator++() { + iterator_.next(resources_); + return *this; + } + + private: + detail::ArrayData::iterator iterator_; + detail::ResourceManager* resources_; +}; + +class JsonArrayConstIterator { + friend class JsonArray; + + public: + JsonArrayConstIterator() {} + explicit JsonArrayConstIterator(detail::ArrayData::iterator iterator, + const detail::ResourceManager* resources) + : iterator_(iterator), resources_(resources) {} + + JsonVariantConst operator*() const { + return JsonVariantConst(iterator_.data(), resources_); + } + Ptr operator->() { + return operator*(); + } + + bool operator==(const JsonArrayConstIterator& other) const { + return iterator_ == other.iterator_; + } + + bool operator!=(const JsonArrayConstIterator& other) const { + return iterator_ != other.iterator_; + } + + JsonArrayConstIterator& operator++() { + iterator_.next(resources_); + return *this; + } + + private: + detail::ArrayData::iterator iterator_; + const detail::ResourceManager* resources_; +}; + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Array/Utilities.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Array/Utilities.hpp new file mode 100644 index 0000000..90bf922 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Array/Utilities.hpp @@ -0,0 +1,112 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "JsonArray.hpp" +#include "../Document/JsonDocument.hpp" + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +// Copies a value to a JsonVariant. +// This is a degenerated form of copyArray() to stop the recursion. +template ::value, int> = 0> +inline bool copyArray(const T& src, JsonVariant dst) { + return dst.set(src); +} + +// Copies values from an array to a JsonArray or a JsonVariant. +// https://arduinojson.org/v7/api/misc/copyarray/ +template ::value, int> = 0> +inline bool copyArray(T (&src)[N], const TDestination& dst) { + return copyArray(src, N, dst); +} + +// Copies values from an array to a JsonArray or a JsonVariant. +// https://arduinojson.org/v7/api/misc/copyarray/ +template ::value, int> = 0> +inline bool copyArray(const T* src, size_t len, const TDestination& dst) { + bool ok = true; + for (size_t i = 0; i < len; i++) { + ok &= copyArray(src[i], dst.template add()); + } + return ok; +} + +// Copies a string to a JsonVariant. +// This is a degenerated form of copyArray() to handle strings. +template +inline bool copyArray(const char* src, size_t, const TDestination& dst) { + return dst.set(src); +} + +// Copies values from an array to a JsonDocument. +// https://arduinojson.org/v7/api/misc/copyarray/ +template +inline bool copyArray(const T& src, JsonDocument& dst) { + return copyArray(src, dst.to()); +} + +// Copies an array to a JsonDocument. +// https://arduinojson.org/v7/api/misc/copyarray/ +template +inline bool copyArray(const T* src, size_t len, JsonDocument& dst) { + return copyArray(src, len, dst.to()); +} + +// Copies a value from a JsonVariant. +// This is a degenerated form of copyArray() to stop the recursion. +template ::value, int> = 0> +inline size_t copyArray(JsonVariantConst src, T& dst) { + dst = src.as(); + return 1; +} + +// Copies values from a JsonArray or JsonVariant to an array. +// https://arduinojson.org/v7/api/misc/copyarray/ +template +inline size_t copyArray(JsonArrayConst src, T (&dst)[N]) { + return copyArray(src, dst, N); +} + +// Copies values from a JsonArray or JsonVariant to an array. +// https://arduinojson.org/v7/api/misc/copyarray/ +template +inline size_t copyArray(JsonArrayConst src, T* dst, size_t len) { + size_t i = 0; + for (JsonArrayConst::iterator it = src.begin(); it != src.end() && i < len; + ++it) + copyArray(*it, dst[i++]); + return i; +} + +// Copies a string from a JsonVariant. +// This is a degenerated form of copyArray() to handle strings. +template +inline size_t copyArray(JsonVariantConst src, char (&dst)[N]) { + JsonString s = src; + size_t len = N - 1; + if (len > s.size()) + len = s.size(); + memcpy(dst, s.c_str(), len); + dst[len] = 0; + return 1; +} + +// Copies values from a JsonDocument to an array. +// https://arduinojson.org/v7/api/misc/copyarray/ +template < + typename TSource, typename T, + detail::enable_if_t::value && + detail::is_base_of::value, + int> = 0> +inline size_t copyArray(const TSource& src, T& dst) { + return copyArray(src.template as(), dst); +} + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Collection/CollectionData.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Collection/CollectionData.hpp new file mode 100644 index 0000000..6bd19fd --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Collection/CollectionData.hpp @@ -0,0 +1,122 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Memory/MemoryPool.hpp" +#include "../Namespace.hpp" +#include "../Polyfills/assert.hpp" + +#include // size_t + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +class VariantData; +class ResourceManager; + +class CollectionIterator { + friend class CollectionData; + + public: + CollectionIterator() : slot_(nullptr), currentId_(NULL_SLOT) {} + + void next(const ResourceManager* resources); + + bool done() const { + return slot_ == nullptr; + } + + bool operator==(const CollectionIterator& other) const { + return slot_ == other.slot_; + } + + bool operator!=(const CollectionIterator& other) const { + return slot_ != other.slot_; + } + + VariantData* operator->() { + ARDUINOJSON_ASSERT(slot_ != nullptr); + return data(); + } + + VariantData& operator*() { + ARDUINOJSON_ASSERT(slot_ != nullptr); + return *data(); + } + + const VariantData& operator*() const { + ARDUINOJSON_ASSERT(slot_ != nullptr); + return *data(); + } + + VariantData* data() { + return reinterpret_cast(slot_); + } + + const VariantData* data() const { + return reinterpret_cast(slot_); + } + + private: + CollectionIterator(VariantData* slot, SlotId slotId); + + VariantData* slot_; + SlotId currentId_, nextId_; +}; + +class CollectionData { + SlotId head_ = NULL_SLOT; + SlotId tail_ = NULL_SLOT; + + public: + // Placement new + static void* operator new(size_t, void* p) noexcept { + return p; + } + + static void operator delete(void*, void*) noexcept {} + + using iterator = CollectionIterator; + + iterator createIterator(const ResourceManager* resources) const; + + size_t size(const ResourceManager*) const; + size_t nesting(const ResourceManager*) const; + + void clear(ResourceManager* resources); + + static void clear(CollectionData* collection, ResourceManager* resources) { + if (!collection) + return; + collection->clear(resources); + } + + SlotId head() const { + return head_; + } + + protected: + void appendOne(Slot slot, const ResourceManager* resources); + void appendPair(Slot key, Slot value, + const ResourceManager* resources); + + void removeOne(iterator it, ResourceManager* resources); + void removePair(iterator it, ResourceManager* resources); + + private: + Slot getPreviousSlot(VariantData*, const ResourceManager*) const; +}; + +inline const VariantData* collectionToVariant( + const CollectionData* collection) { + const void* data = collection; // prevent warning cast-align + return reinterpret_cast(data); +} + +inline VariantData* collectionToVariant(CollectionData* collection) { + void* data = collection; // prevent warning cast-align + return reinterpret_cast(data); +} + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Collection/CollectionImpl.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Collection/CollectionImpl.hpp new file mode 100644 index 0000000..3ef3c2c --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Collection/CollectionImpl.hpp @@ -0,0 +1,137 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "CollectionData.hpp" +#include "../Memory/Alignment.hpp" +#include "../Strings/StringAdapters.hpp" +#include "../Variant/VariantCompare.hpp" +#include "../Variant/VariantData.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +inline CollectionIterator::CollectionIterator(VariantData* slot, SlotId slotId) + : slot_(slot), currentId_(slotId) { + nextId_ = slot_ ? slot_->next() : NULL_SLOT; +} + +inline void CollectionIterator::next(const ResourceManager* resources) { + ARDUINOJSON_ASSERT(currentId_ != NULL_SLOT); + slot_ = resources->getVariant(nextId_); + currentId_ = nextId_; + if (slot_) + nextId_ = slot_->next(); +} + +inline CollectionData::iterator CollectionData::createIterator( + const ResourceManager* resources) const { + return iterator(resources->getVariant(head_), head_); +} + +inline void CollectionData::appendOne(Slot slot, + const ResourceManager* resources) { + if (tail_ != NULL_SLOT) { + auto tail = resources->getVariant(tail_); + tail->setNext(slot.id()); + tail_ = slot.id(); + } else { + head_ = slot.id(); + tail_ = slot.id(); + } +} + +inline void CollectionData::appendPair(Slot key, + Slot value, + const ResourceManager* resources) { + key->setNext(value.id()); + + if (tail_ != NULL_SLOT) { + auto tail = resources->getVariant(tail_); + tail->setNext(key.id()); + tail_ = value.id(); + } else { + head_ = key.id(); + tail_ = value.id(); + } +} + +inline void CollectionData::clear(ResourceManager* resources) { + auto next = head_; + while (next != NULL_SLOT) { + auto currId = next; + auto slot = resources->getVariant(next); + next = slot->next(); + resources->freeVariant({slot, currId}); + } + + head_ = NULL_SLOT; + tail_ = NULL_SLOT; +} + +inline Slot CollectionData::getPreviousSlot( + VariantData* target, const ResourceManager* resources) const { + auto prev = Slot(); + auto currentId = head_; + while (currentId != NULL_SLOT) { + auto currentSlot = resources->getVariant(currentId); + if (currentSlot == target) + break; + prev = Slot(currentSlot, currentId); + currentId = currentSlot->next(); + } + return prev; +} + +inline void CollectionData::removeOne(iterator it, ResourceManager* resources) { + if (it.done()) + return; + auto curr = it.slot_; + auto prev = getPreviousSlot(curr, resources); + auto next = curr->next(); + if (prev) + prev->setNext(next); + else + head_ = next; + if (next == NULL_SLOT) + tail_ = prev.id(); + resources->freeVariant({it.slot_, it.currentId_}); +} + +inline void CollectionData::removePair(ObjectData::iterator it, + ResourceManager* resources) { + if (it.done()) + return; + + auto keySlot = it.slot_; + + auto valueId = it.nextId_; + auto valueSlot = resources->getVariant(valueId); + + // remove value slot + keySlot->setNext(valueSlot->next()); + resources->freeVariant({valueSlot, valueId}); + + // remove key slot + removeOne(it, resources); +} + +inline size_t CollectionData::nesting(const ResourceManager* resources) const { + size_t maxChildNesting = 0; + for (auto it = createIterator(resources); !it.done(); it.next(resources)) { + size_t childNesting = it->nesting(resources); + if (childNesting > maxChildNesting) + maxChildNesting = childNesting; + } + return maxChildNesting + 1; +} + +inline size_t CollectionData::size(const ResourceManager* resources) const { + size_t count = 0; + for (auto it = createIterator(resources); !it.done(); it.next(resources)) + count++; + return count; +} + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Configuration.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Configuration.hpp new file mode 100644 index 0000000..801202c --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Configuration.hpp @@ -0,0 +1,285 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +// Support std::istream and std::ostream +// https://arduinojson.org/v7/config/enable_std_stream/ +#ifndef ARDUINOJSON_ENABLE_STD_STREAM +# ifdef __has_include +# if __has_include() && \ + __has_include() && \ + !defined(min) && \ + !defined(max) +# define ARDUINOJSON_ENABLE_STD_STREAM 1 +# else +# define ARDUINOJSON_ENABLE_STD_STREAM 0 +# endif +# else +# ifdef ARDUINO +# define ARDUINOJSON_ENABLE_STD_STREAM 0 +# else +# define ARDUINOJSON_ENABLE_STD_STREAM 1 +# endif +# endif +#endif + +// Support std::string +// https://arduinojson.org/v7/config/enable_std_string/ +#ifndef ARDUINOJSON_ENABLE_STD_STRING +# ifdef __has_include +# if __has_include() && !defined(min) && !defined(max) +# define ARDUINOJSON_ENABLE_STD_STRING 1 +# else +# define ARDUINOJSON_ENABLE_STD_STRING 0 +# endif +# else +# ifdef ARDUINO +# define ARDUINOJSON_ENABLE_STD_STRING 0 +# else +# define ARDUINOJSON_ENABLE_STD_STRING 1 +# endif +# endif +#endif + +// Support for std::string_view +#ifndef ARDUINOJSON_ENABLE_STRING_VIEW +# ifdef __has_include +# if __has_include() && __cplusplus >= 201703L +# define ARDUINOJSON_ENABLE_STRING_VIEW 1 +# else +# define ARDUINOJSON_ENABLE_STRING_VIEW 0 +# endif +# else +# define ARDUINOJSON_ENABLE_STRING_VIEW 0 +# endif +#endif + +// Pointer size: a heuristic to set sensible defaults +#ifndef ARDUINOJSON_SIZEOF_POINTER +# if defined(__SIZEOF_POINTER__) +# define ARDUINOJSON_SIZEOF_POINTER __SIZEOF_POINTER__ +# elif defined(_WIN64) && _WIN64 +# define ARDUINOJSON_SIZEOF_POINTER 8 // 64 bits +# else +# define ARDUINOJSON_SIZEOF_POINTER 4 // assume 32 bits otherwise +# endif +#endif + +// Store floating-point values with float (0) or double (1) +// https://arduinojson.org/v7/config/use_double/ +#ifndef ARDUINOJSON_USE_DOUBLE +# if ARDUINOJSON_SIZEOF_POINTER >= 4 // 32 & 64 bits systems +# define ARDUINOJSON_USE_DOUBLE 1 +# else +# define ARDUINOJSON_USE_DOUBLE 0 +# endif +#endif + +// Store integral values with long (0) or long long (1) +// https://arduinojson.org/v7/config/use_long_long/ +#ifndef ARDUINOJSON_USE_LONG_LONG +# if ARDUINOJSON_SIZEOF_POINTER >= 4 // 32 & 64 bits systems +# define ARDUINOJSON_USE_LONG_LONG 1 +# else +# define ARDUINOJSON_USE_LONG_LONG 0 +# endif +#endif + +// Limit nesting as the stack is likely to be small +// https://arduinojson.org/v7/config/default_nesting_limit/ +#ifndef ARDUINOJSON_DEFAULT_NESTING_LIMIT +# define ARDUINOJSON_DEFAULT_NESTING_LIMIT 10 +#endif + +// Number of bytes to store a slot id +// https://arduinojson.org/v7/config/slot_id_size/ +#ifndef ARDUINOJSON_SLOT_ID_SIZE +# if ARDUINOJSON_SIZEOF_POINTER <= 2 +// 8-bit and 16-bit archs => up to 255 slots +# define ARDUINOJSON_SLOT_ID_SIZE 1 +# elif ARDUINOJSON_SIZEOF_POINTER == 4 +// 32-bit arch => up to 65535 slots +# define ARDUINOJSON_SLOT_ID_SIZE 2 +# else +// 64-bit arch => up to 4294967295 slots +# define ARDUINOJSON_SLOT_ID_SIZE 4 +# endif +#endif + +// Capacity of each variant pool (in slots) +#ifndef ARDUINOJSON_POOL_CAPACITY +# if ARDUINOJSON_SLOT_ID_SIZE == 1 +# define ARDUINOJSON_POOL_CAPACITY 16 // 96 bytes +# elif ARDUINOJSON_SLOT_ID_SIZE == 2 +# define ARDUINOJSON_POOL_CAPACITY 128 // 1024 bytes +# else +# define ARDUINOJSON_POOL_CAPACITY 256 // 4096 bytes +# endif +#endif + +// Initial capacity of the pool list +#ifndef ARDUINOJSON_INITIAL_POOL_COUNT +# define ARDUINOJSON_INITIAL_POOL_COUNT 4 +#endif + +// Automatically call shrinkToFit() from deserializeXxx() +// Disabled by default on 8-bit platforms because it's not worth the increase in +// code size +#ifndef ARDUINOJSON_AUTO_SHRINK +# if ARDUINOJSON_SIZEOF_POINTER <= 2 +# define ARDUINOJSON_AUTO_SHRINK 0 +# else +# define ARDUINOJSON_AUTO_SHRINK 1 +# endif +#endif + +// Number of bytes to store the length of a string +// https://arduinojson.org/v7/config/string_length_size/ +#ifndef ARDUINOJSON_STRING_LENGTH_SIZE +# if ARDUINOJSON_SIZEOF_POINTER <= 2 +# define ARDUINOJSON_STRING_LENGTH_SIZE 1 // up to 255 characters +# else +# define ARDUINOJSON_STRING_LENGTH_SIZE 2 // up to 65535 characters +# endif +#endif + +#ifdef ARDUINO + +// Enable support for Arduino's String class +// https://arduinojson.org/v7/config/enable_arduino_string/ +# ifndef ARDUINOJSON_ENABLE_ARDUINO_STRING +# define ARDUINOJSON_ENABLE_ARDUINO_STRING 1 +# endif + +// Enable support for Arduino's Stream class +// https://arduinojson.org/v7/config/enable_arduino_stream/ +# ifndef ARDUINOJSON_ENABLE_ARDUINO_STREAM +# define ARDUINOJSON_ENABLE_ARDUINO_STREAM 1 +# endif + +// Enable support for Arduino's Print class +# ifndef ARDUINOJSON_ENABLE_ARDUINO_PRINT +# define ARDUINOJSON_ENABLE_ARDUINO_PRINT 1 +# endif + +// Enable support for PROGMEM +// https://arduinojson.org/v7/config/enable_progmem/ +# ifndef ARDUINOJSON_ENABLE_PROGMEM +# define ARDUINOJSON_ENABLE_PROGMEM 1 +# endif + +#else // ARDUINO + +// Disable support for Arduino's String class +// https://arduinojson.org/v7/config/enable_arduino_string/ +# ifndef ARDUINOJSON_ENABLE_ARDUINO_STRING +# define ARDUINOJSON_ENABLE_ARDUINO_STRING 0 +# endif + +// Disable support for Arduino's Stream class +// https://arduinojson.org/v7/config/enable_arduino_stream/ +# ifndef ARDUINOJSON_ENABLE_ARDUINO_STREAM +# define ARDUINOJSON_ENABLE_ARDUINO_STREAM 0 +# endif + +// Disable support for Arduino's Print class +# ifndef ARDUINOJSON_ENABLE_ARDUINO_PRINT +# define ARDUINOJSON_ENABLE_ARDUINO_PRINT 0 +# endif + +// Enable PROGMEM support on AVR only +// https://arduinojson.org/v7/config/enable_progmem/ +# ifndef ARDUINOJSON_ENABLE_PROGMEM +# ifdef __AVR__ +# define ARDUINOJSON_ENABLE_PROGMEM 1 +# else +# define ARDUINOJSON_ENABLE_PROGMEM 0 +# endif +# endif + +#endif // ARDUINO + +// Convert unicode escape sequence (\u0123) to UTF-8 +// https://arduinojson.org/v7/config/decode_unicode/ +#ifndef ARDUINOJSON_DECODE_UNICODE +# define ARDUINOJSON_DECODE_UNICODE 1 +#endif + +// Ignore comments in input +// https://arduinojson.org/v7/config/enable_comments/ +#ifndef ARDUINOJSON_ENABLE_COMMENTS +# define ARDUINOJSON_ENABLE_COMMENTS 0 +#endif + +// Support NaN in JSON +// https://arduinojson.org/v7/config/enable_nan/ +#ifndef ARDUINOJSON_ENABLE_NAN +# define ARDUINOJSON_ENABLE_NAN 0 +#endif + +// Support Infinity in JSON +// https://arduinojson.org/v7/config/enable_infinity/ +#ifndef ARDUINOJSON_ENABLE_INFINITY +# define ARDUINOJSON_ENABLE_INFINITY 0 +#endif + +// Control the exponentiation threshold for big numbers +// CAUTION: cannot be more that 1e9 !!!! +// https://arduinojson.org/v7/config/positive_exponentiation_threshold/ +#ifndef ARDUINOJSON_POSITIVE_EXPONENTIATION_THRESHOLD +# define ARDUINOJSON_POSITIVE_EXPONENTIATION_THRESHOLD 1e7 +#endif + +// Control the exponentiation threshold for small numbers +// https://arduinojson.org/v7/config/negative_exponentiation_threshold/ +#ifndef ARDUINOJSON_NEGATIVE_EXPONENTIATION_THRESHOLD +# define ARDUINOJSON_NEGATIVE_EXPONENTIATION_THRESHOLD 1e-5 +#endif + +#ifndef ARDUINOJSON_LITTLE_ENDIAN +# if defined(_MSC_VER) || \ + (defined(__BYTE_ORDER__) && \ + __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__) || \ + defined(__LITTLE_ENDIAN__) || defined(__i386) || defined(__x86_64) +# define ARDUINOJSON_LITTLE_ENDIAN 1 +# else +# define ARDUINOJSON_LITTLE_ENDIAN 0 +# endif +#endif + +#ifndef ARDUINOJSON_ENABLE_ALIGNMENT +# if defined(__AVR) +# define ARDUINOJSON_ENABLE_ALIGNMENT 0 +# else +# define ARDUINOJSON_ENABLE_ALIGNMENT 1 +# endif +#endif + +#ifndef ARDUINOJSON_TAB +# define ARDUINOJSON_TAB " " +#endif + +#ifndef ARDUINOJSON_STRING_BUFFER_SIZE +# define ARDUINOJSON_STRING_BUFFER_SIZE 32 +#endif + +#ifndef ARDUINOJSON_DEBUG +# ifdef __PLATFORMIO_BUILD_DEBUG__ +# define ARDUINOJSON_DEBUG 1 +# else +# define ARDUINOJSON_DEBUG 0 +# endif +#endif + +#if ARDUINOJSON_USE_LONG_LONG || ARDUINOJSON_USE_DOUBLE +# define ARDUINOJSON_USE_EXTENSIONS 1 +#else +# define ARDUINOJSON_USE_EXTENSIONS 0 +#endif + +#if defined(nullptr) +# error nullptr is defined as a macro. Remove the faulty #define or #undef nullptr +// See https://github.com/bblanchon/ArduinoJson/issues/1355 +#endif diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/DeserializationError.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/DeserializationError.hpp new file mode 100644 index 0000000..85fc744 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/DeserializationError.hpp @@ -0,0 +1,106 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Namespace.hpp" +#include "../Polyfills/pgmspace_generic.hpp" +#include "../Polyfills/preprocessor.hpp" + +#if ARDUINOJSON_ENABLE_STD_STREAM +# include +#endif + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +class DeserializationError { + public: + enum Code { + Ok, + EmptyInput, + IncompleteInput, + InvalidInput, + NoMemory, + TooDeep + }; + + DeserializationError() {} + DeserializationError(Code c) : code_(c) {} + + // Compare with DeserializationError + friend bool operator==(const DeserializationError& lhs, + const DeserializationError& rhs) { + return lhs.code_ == rhs.code_; + } + friend bool operator!=(const DeserializationError& lhs, + const DeserializationError& rhs) { + return lhs.code_ != rhs.code_; + } + + // Compare with Code + friend bool operator==(const DeserializationError& lhs, Code rhs) { + return lhs.code_ == rhs; + } + friend bool operator==(Code lhs, const DeserializationError& rhs) { + return lhs == rhs.code_; + } + friend bool operator!=(const DeserializationError& lhs, Code rhs) { + return lhs.code_ != rhs; + } + friend bool operator!=(Code lhs, const DeserializationError& rhs) { + return lhs != rhs.code_; + } + + // Returns true if there is an error + explicit operator bool() const { + return code_ != Ok; + } + + // Returns internal enum, useful for switch statement + Code code() const { + return code_; + } + + const char* c_str() const { + static const char* messages[] = { + "Ok", "EmptyInput", "IncompleteInput", + "InvalidInput", "NoMemory", "TooDeep"}; + ARDUINOJSON_ASSERT(static_cast(code_) < + sizeof(messages) / sizeof(messages[0])); + return messages[code_]; + } + +#if ARDUINOJSON_ENABLE_PROGMEM + const __FlashStringHelper* f_str() const { + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(char, s0, "Ok"); + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(char, s1, "EmptyInput"); + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(char, s2, "IncompleteInput"); + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(char, s3, "InvalidInput"); + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(char, s4, "NoMemory"); + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(char, s5, "TooDeep"); + ARDUINOJSON_DEFINE_PROGMEM_ARRAY(const char*, messages, + {s0, s1, s2, s3, s4, s5}); + return reinterpret_cast( + detail::pgm_read(messages + code_)); + } +#endif + + private: + Code code_; +}; + +#if ARDUINOJSON_ENABLE_STD_STREAM +inline std::ostream& operator<<(std::ostream& s, + const DeserializationError& e) { + s << e.c_str(); + return s; +} + +inline std::ostream& operator<<(std::ostream& s, DeserializationError::Code c) { + s << DeserializationError(c).c_str(); + return s; +} +#endif + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/DeserializationOptions.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/DeserializationOptions.hpp new file mode 100644 index 0000000..997dbb3 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/DeserializationOptions.hpp @@ -0,0 +1,35 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "Filter.hpp" +#include "NestingLimit.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +struct DeserializationOptions { + TFilter filter; + DeserializationOption::NestingLimit nestingLimit; +}; + +template +inline DeserializationOptions makeDeserializationOptions( + TFilter filter, DeserializationOption::NestingLimit nestingLimit = {}) { + return {filter, nestingLimit}; +} + +template +inline DeserializationOptions makeDeserializationOptions( + DeserializationOption::NestingLimit nestingLimit, TFilter filter) { + return {filter, nestingLimit}; +} + +inline DeserializationOptions makeDeserializationOptions( + DeserializationOption::NestingLimit nestingLimit = {}) { + return {{}, nestingLimit}; +} + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Filter.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Filter.hpp new file mode 100644 index 0000000..cc510c8 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Filter.hpp @@ -0,0 +1,77 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Variant/JsonVariant.hpp" +#include "../Variant/VariantAttorney.hpp" + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +namespace DeserializationOption { +class Filter { + public: +#if ARDUINOJSON_AUTO_SHRINK + explicit Filter(JsonDocument& doc) : variant_(doc) { + doc.shrinkToFit(); + } +#endif + + explicit Filter(JsonVariantConst variant) : variant_(variant) {} + + bool allow() const { + return variant_; + } + + bool allowArray() const { + return variant_ == true || variant_.is(); + } + + bool allowObject() const { + return variant_ == true || variant_.is(); + } + + bool allowValue() const { + return variant_ == true; + } + + template + Filter operator[](const TKey& key) const { + if (variant_ == true) // "true" means "allow recursively" + return *this; + JsonVariantConst member = variant_[key]; + return Filter(member.isNull() ? variant_["*"] : member); + } + + private: + JsonVariantConst variant_; +}; +} // namespace DeserializationOption + +namespace detail { +struct AllowAllFilter { + bool allow() const { + return true; + } + + bool allowArray() const { + return true; + } + + bool allowObject() const { + return true; + } + + bool allowValue() const { + return true; + } + + template + AllowAllFilter operator[](const TKey&) const { + return AllowAllFilter(); + } +}; +} // namespace detail + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/NestingLimit.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/NestingLimit.hpp new file mode 100644 index 0000000..8d29d4d --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/NestingLimit.hpp @@ -0,0 +1,32 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Namespace.hpp" +#include "../Polyfills/assert.hpp" + +ARDUINOJSON_BEGIN_PUBLIC_NAMESPACE + +namespace DeserializationOption { +class NestingLimit { + public: + NestingLimit() : value_(ARDUINOJSON_DEFAULT_NESTING_LIMIT) {} + explicit NestingLimit(uint8_t n) : value_(n) {} + + NestingLimit decrement() const { + ARDUINOJSON_ASSERT(value_ > 0); + return NestingLimit(static_cast(value_ - 1)); + } + + bool reached() const { + return value_ == 0; + } + + private: + uint8_t value_; +}; +} // namespace DeserializationOption + +ARDUINOJSON_END_PUBLIC_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Reader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Reader.hpp new file mode 100644 index 0000000..6b701b5 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Reader.hpp @@ -0,0 +1,74 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../Namespace.hpp" +#include "../Polyfills/utility.hpp" + +#include // for size_t + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +// The default reader is a simple wrapper for Readers that are not copyable +template +struct Reader { + public: + Reader(TSource& source) : source_(&source) {} + + int read() { + // clang-format off + return source_->read(); // Error here? See https://arduinojson.org/v7/invalid-input/ + // clang-format on + } + + size_t readBytes(char* buffer, size_t length) { + return source_->readBytes(buffer, length); + } + + private: + TSource* source_; +}; + +template +struct BoundedReader { + // no default implementation because we need to pass the size to the + // constructor +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE + +#include "Readers/IteratorReader.hpp" +#include "Readers/RamReader.hpp" +#include "Readers/VariantReader.hpp" + +#if ARDUINOJSON_ENABLE_ARDUINO_STREAM +# include "Readers/ArduinoStreamReader.hpp" +#endif + +#if ARDUINOJSON_ENABLE_ARDUINO_STRING +# include "Readers/ArduinoStringReader.hpp" +#endif + +#if ARDUINOJSON_ENABLE_PROGMEM +# include "Readers/FlashReader.hpp" +#endif + +#if ARDUINOJSON_ENABLE_STD_STREAM +# include "Readers/StdStreamReader.hpp" +#endif + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +Reader> makeReader(TInput&& input) { + return Reader>{detail::forward(input)}; +} + +template +BoundedReader makeReader(TChar* input, size_t inputSize) { + return BoundedReader{input, inputSize}; +} + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/ArduinoStreamReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/ArduinoStreamReader.hpp new file mode 100644 index 0000000..7c4d6b8 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/ArduinoStreamReader.hpp @@ -0,0 +1,30 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +struct Reader::value>> { + public: + explicit Reader(Stream& stream) : stream_(&stream) {} + + int read() { + // don't use stream_->read() as it ignores the timeout + char c; + return stream_->readBytes(&c, 1) ? static_cast(c) : -1; + } + + size_t readBytes(char* buffer, size_t length) { + return stream_->readBytes(buffer, length); + } + + private: + Stream* stream_; +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/ArduinoStringReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/ArduinoStringReader.hpp new file mode 100644 index 0000000..ba3d7b7 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/ArduinoStringReader.hpp @@ -0,0 +1,18 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +struct Reader::value>> + : BoundedReader { + explicit Reader(const ::String& s) + : BoundedReader(s.c_str(), s.length()) {} +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/FlashReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/FlashReader.hpp new file mode 100644 index 0000000..83f2cca --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/FlashReader.hpp @@ -0,0 +1,56 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../../Polyfills/pgmspace.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template <> +struct Reader { + const char* ptr_; + + public: + explicit Reader(const __FlashStringHelper* ptr) + : ptr_(reinterpret_cast(ptr)) {} + + int read() { + return pgm_read_byte(ptr_++); + } + + size_t readBytes(char* buffer, size_t length) { + memcpy_P(buffer, ptr_, length); + ptr_ += length; + return length; + } +}; + +template <> +struct BoundedReader { + const char* ptr_; + const char* end_; + + public: + explicit BoundedReader(const __FlashStringHelper* ptr, size_t size) + : ptr_(reinterpret_cast(ptr)), end_(ptr_ + size) {} + + int read() { + if (ptr_ < end_) + return pgm_read_byte(ptr_++); + else + return -1; + } + + size_t readBytes(char* buffer, size_t length) { + size_t available = static_cast(end_ - ptr_); + if (available < length) + length = available; + memcpy_P(buffer, ptr_, length); + ptr_ += length; + return length; + } +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/IteratorReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/IteratorReader.hpp new file mode 100644 index 0000000..18d38b4 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/IteratorReader.hpp @@ -0,0 +1,42 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../../Polyfills/type_traits.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +class IteratorReader { + TIterator ptr_, end_; + + public: + explicit IteratorReader(TIterator begin, TIterator end) + : ptr_(begin), end_(end) {} + + int read() { + if (ptr_ < end_) + return static_cast(*ptr_++); + else + return -1; + } + + size_t readBytes(char* buffer, size_t length) { + size_t i = 0; + while (i < length && ptr_ < end_) + buffer[i++] = *ptr_++; + return i; + } +}; + +template +struct Reader> + : IteratorReader { + explicit Reader(const TSource& source) + : IteratorReader(source.begin(), + source.end()) {} +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/RamReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/RamReader.hpp new file mode 100644 index 0000000..957e2bc --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/RamReader.hpp @@ -0,0 +1,49 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../../Polyfills/type_traits.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +struct IsCharOrVoid { + static const bool value = + is_same::value || is_same::value || + is_same::value || is_same::value; +}; + +template +struct IsCharOrVoid : IsCharOrVoid {}; + +template +struct Reader::value>> { + const char* ptr_; + + public: + explicit Reader(const void* ptr) + : ptr_(ptr ? reinterpret_cast(ptr) : "") {} + + int read() { + return static_cast(*ptr_++); + } + + size_t readBytes(char* buffer, size_t length) { + for (size_t i = 0; i < length; i++) + buffer[i] = *ptr_++; + return length; + } +}; + +template +struct BoundedReader::value>> + : public IteratorReader { + public: + explicit BoundedReader(const void* ptr, size_t len) + : IteratorReader(reinterpret_cast(ptr), + reinterpret_cast(ptr) + len) {} +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/StdStreamReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/StdStreamReader.hpp new file mode 100644 index 0000000..5de22c0 --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/StdStreamReader.hpp @@ -0,0 +1,29 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +struct Reader::value>> { + public: + explicit Reader(std::istream& stream) : stream_(&stream) {} + + int read() { + return stream_->get(); + } + + size_t readBytes(char* buffer, size_t length) { + stream_->read(buffer, static_cast(length)); + return static_cast(stream_->gcount()); + } + + private: + std::istream* stream_; +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/VariantReader.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/VariantReader.hpp new file mode 100644 index 0000000..4a4acfb --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/Readers/VariantReader.hpp @@ -0,0 +1,19 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "../../Object/MemberProxy.hpp" +#include "../../Variant/JsonVariantConst.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +template +struct Reader::value>> + : Reader { + explicit Reader(const TVariant& x) + : Reader(x.template as()) {} +}; + +ARDUINOJSON_END_PRIVATE_NAMESPACE diff --git a/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/deserialize.hpp b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/deserialize.hpp new file mode 100644 index 0000000..b80497c --- /dev/null +++ b/All_in_One/src/ArduinoJson/ArduinoJson/Deserialization/deserialize.hpp @@ -0,0 +1,79 @@ +// ArduinoJson - https://arduinojson.org +// Copyright © 2014-2026, Benoit BLANCHON +// MIT License + +#pragma once + +#include "DeserializationError.hpp" +#include "DeserializationOptions.hpp" +#include "Reader.hpp" +#include "../Polyfills/utility.hpp" + +ARDUINOJSON_BEGIN_PRIVATE_NAMESPACE + +// A meta-function that returns the first type of the parameter pack +// or void if empty +template +struct first_or_void { + using type = void; +}; +template +struct first_or_void { + using type = T; +}; + +// A meta-function that returns true if T is a valid destination type for +// deserialize() +template +using is_deserialize_destination = + bool_constant>::value || + IsVariant::value>; + +template +inline void shrinkJsonDocument(TDestination&) { + // no-op by default +} + +#if ARDUINOJSON_AUTO_SHRINK +inline void shrinkJsonDocument(JsonDocument& doc) { + doc.shrinkToFit(); +} +#endif + +template