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 */