update qcloud sdk

1. iot-hub sdk update to 3.2.0
2. iot-explorer update to 3.1.1
This commit is contained in:
daishengdong
2020-05-07 11:11:04 +08:00
parent c8e39739d3
commit 3e631cd96a
594 changed files with 47287 additions and 44165 deletions

View File

@@ -343,10 +343,11 @@ class iot_struct:
init_str += " {}.{} = {};\n".format(var_gProduct, field.get_id_c_member_name(),field.get_id_default_value())
init_str += " {}[{}].data_property.data = &{}.{};\n".format(var_gTemplate, count, var_gProduct, field.get_id_c_member_name())
init_str += " {}[{}].data_property.key = \"{}\";\n".format(var_gTemplate, count, field.id)
init_str += " {}[{}].data_property.type = {};\n\n".format(var_gTemplate, count, field.type_id)
init_str += " {}[{}].data_property.type = {};\n".format(var_gTemplate, count, field.type_id)
init_str += " {}[{}].state = eCHANGED;\n\n".format(var_gTemplate, count)
count += 1
init_str += "};\n"
return init_str;
return init_str
def gen_data_config(self):
data_config = ""