2024-01-09 20:47:28 +01:00
|
|
|
/**
|
|
|
|
* @file struct2json.h
|
|
|
|
*
|
|
|
|
* @brief Header file for converting structs to JSON objects.
|
|
|
|
*
|
|
|
|
* @note This file is auto-generated by a script on {{ timestamp }}.
|
|
|
|
*
|
|
|
|
* @author Marcel Peterkau
|
|
|
|
* @date {{ date }}
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _STRUCT2JSON_H_
|
|
|
|
#define _STRUCT2JSON_H_
|
|
|
|
|
|
|
|
#include <Arduino.h>
|
|
|
|
#include <ArduinoJson.h>
|
|
|
|
|
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
{% for var_name, var_info in structs.items() -%}
|
2024-01-30 21:31:49 +01:00
|
|
|
void generateJsonObject_{{ var_name }}(JsonObject data);
|
2024-01-09 20:47:28 +01:00
|
|
|
{% endfor %}
|
|
|
|
|
2024-01-10 19:09:18 +01:00
|
|
|
#endif /* _STRUCT2JSON_H_ */
|
|
|
|
|
|
|
|
// CODEGENERATOR_CHECKSUM: {{ checksum }}
|