From c67d77fa6192c4a0497b2fc6fe9476aa4d033b6f Mon Sep 17 00:00:00 2001 From: wangfq Date: Wed, 8 Jul 2026 10:36:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(iot=5Fmqtt):=20iot=5Fmqtt=5Fsend(buf)=20?= =?UTF-8?q?=E9=81=97=E6=BC=8F=E6=94=B9=E4=B8=BA=20mqttBuf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c index d5f051a..77216a0 100644 --- a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c +++ b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c @@ -112,7 +112,7 @@ static int iot_mqtt_send_connect(void) { } PRINT("IOT: → CONNECT clientId=%s keepAlive=%d\n", opts.clientID.cstring, opts.keepAliveInterval); - return iot_mqtt_send(buf, (uint16_t)len); + return iot_mqtt_send(mqttBuf, (uint16_t)len); } /* 发送 MQTT SUBSCRIBE */