Files
neuron/plugins/mqtt/command/common.h
T
gc87 cff79b9e42 Refactored some MQTT command processing functions
1. Group config
2. Data tag
3. Read and write
2021-11-30 16:34:44 +08:00

42 lines
1.3 KiB
C

/**
* NEURON IIoT System for Industry 4.0
* Copyright (C) 2020-2021 EMQ Technologies Co., Ltd All rights reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
#ifndef NEURON_PLUGIN_MQTT_COMMON
#define NEURON_PLUGIN_MQTT_COMMON
#ifdef __cplusplus
extern "C" {
#endif
#include <neuron.h>
#include "json/neu_json_error.h"
#include "json/neu_json_fn.h"
#include "json/neu_json_group_config.h"
#include "json/neu_json_mqtt.h"
#include "json/neu_json_node.h"
#include "json/neu_json_plugin.h"
#include "json/neu_json_rw.h"
#include "json/neu_json_tag.h"
#define UNUSED(x) (void) (x)
#ifdef __cplusplus
}
#endif
#endif