Initial commit: CCU621_M firmware project with BLE debug link support.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-08 17:28:36 +08:00
commit 9ceb218f80
1597 changed files with 724159 additions and 0 deletions
+82
View File
@@ -0,0 +1,82 @@
/*
* Copyright (C) 2015-2018 Alibaba Group Holding Limited
*/
#ifndef IOTX_MQTT_CONFIG_H__
#define IOTX_MQTT_CONFIG_H__
#ifndef WITH_MQTT_DYN_BUF
#define WITH_MQTT_DYN_BUF (1)
#endif
#ifndef WITH_MQTT_QOS2_PACKET
#define WITH_MQTT_QOS2_PACKET (0)
#endif
#ifndef WITH_MQTT_FLOW_CTRL
#define WITH_MQTT_FLOW_CTRL (0)
#endif
#ifndef WITH_MQTT_ONLY_QOS0
#define WITH_MQTT_ONLY_QOS0 (0)
#endif
#ifndef WITH_MQTT_DYN_CONNINFO
#define WITH_MQTT_DYN_CONNINFO (1)
#endif
#ifndef WITH_MQTT_ZIP_TOPIC
#define WITH_MQTT_ZIP_TOPIC (0)
#endif
/* maximum republish elements in list */
#ifndef IOTX_MC_REPUB_NUM_MAX
#define IOTX_MC_REPUB_NUM_MAX (10)
#endif
/* MQTT client version number */
#define IOTX_MC_MQTT_VERSION (4)
/* maximum MQTT packet-id */
#define IOTX_MC_PACKET_ID_MAX (65535)
/* Minimum interval of MQTT reconnect in millisecond */
#define IOTX_MC_RECONNECT_INTERVAL_MIN_MS (1000)
/* Maximum interval of MQTT reconnect in millisecond */
#define IOTX_MC_RECONNECT_INTERVAL_MAX_MS (30000)
/* Max times of keepalive which has been send and did not received response package */
#define IOTX_MC_KEEPALIVE_PROBE_MAX (2)
/* Linked List Params When PLATFORM_HAS_DYNMEN Disabled */
#ifndef PLATFORM_HAS_DYNMEN
/* mqtt sub sync list max length */
#ifndef IOTX_MC_SUBSYNC_LIST_MAX_LEN
#define IOTX_MC_SUBSYNC_LIST_MAX_LEN (5)
#endif
/* mqtt sub handle list max length */
#ifndef IOTX_MC_SUBHANDLE_LIST_MAX_LEN
#define IOTX_MC_SUBHANDLE_LIST_MAX_LEN (20)
#endif
/* mqtt client max count */
#ifndef IOTX_MC_CLIENT_MAX_COUNT
#define IOTX_MC_CLIENT_MAX_COUNT (1)
#endif
#ifndef IOTX_MC_TX_MAX_LEN
#define IOTX_MC_TX_MAX_LEN (2048)
#endif
#ifndef IOTX_MC_RX_MAX_LEN
#define IOTX_MC_RX_MAX_LEN (2048)
#endif
#endif /* PLATFORM_HAS_DYNMEM */
#endif /* IOTX_MQTT_CONFIG_H__ */