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
#!/usr/bin/env python# -*- coding: utf-8 -*-# This file is part of Beremiz# Copyright (C) 2019: Edouard TISSERANT## See COPYING file for copyrights details.from svghmi.svghmi import *