tests/projects/wamp/project_files/wampconf.json
author Edouard Tisserant <edouard@beremiz.fr>
Fri, 13 Sep 2024 14:26:55 +0200
changeset 4012 6337c9c2c379
parent 3416 53c66c4aefa3
permissions -rw-r--r--
MQTT: add JSON payload corresponding to IEC Structured types

- uses https://github.com/cesanta/frozen
- frozen.c is added as a resulting c file in generat_C (fix toolchain_gcc.py as it was breaking dependency checking)
- structured types are converted to C #define, in turn generating json_scanf and json_printf statements
{
    "ID": "wamptest", 
    "active": true, 
    "protocolOptions": {
        "autoPingInterval": 60, 
        "autoPingTimeout": 20
    }, 
    "realm": "Automation", 
    "url": "ws://127.0.0.1:8888"
}