diff --git a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c index 7d372e0..21c1c45 100644 --- a/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c +++ b/vd960DBN/BLE/OnlyUpdateApp_Peripheral/APP/iot_mqtt_srv.c @@ -126,7 +126,7 @@ static int iot_mqtt_send_subscribe(void) { iot_make_topic(topic, sizeof(topic), "srv", "config", "query"); topics[count].cstring = topic; topics[count].lenstring.len = 0; count++; - iot_make_topic(topic, sizeof(topic), "srv", "ctrl"); + iot_make_topic(topic, sizeof(topic), "srv", "ctrl", NULL); topics[count].cstring = topic; topics[count].lenstring.len = 0; count++; len = MQTTSerialize_subscribe(buf, sizeof(buf), 0,