add qcloud explorer ota sample
This commit is contained in:
@@ -437,7 +437,7 @@ int data_template_light_thread(void) {
|
||||
return rc;
|
||||
}
|
||||
|
||||
void *client = IOT_Template_Construct(&init_params);
|
||||
void *client = IOT_Template_Construct(&init_params, NULL);
|
||||
if (client != NULL) {
|
||||
Log_i("Cloud Device Construct Success");
|
||||
} else {
|
||||
|
@@ -39,7 +39,7 @@ void application_entry(void *arg)
|
||||
data_template_light_thread();
|
||||
|
||||
while (1) {
|
||||
printf("This is a tencent cloud sdk data template demo!\r\n");
|
||||
printf("This is a qcloud explorer sdk data template demo!\r\n");
|
||||
tos_task_delay(1000);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user