/AliOS-Things-master/components/amp/services/board_mgr/ |
A D | board_info.c | 19 char *deviceSecret) in board_setDeviceInfo() argument 32 if (NULL != deviceSecret) { in board_setDeviceInfo() 33 aos_kv_set(DEVICE_SECRET_TAG, (void *)deviceSecret, in board_setDeviceInfo() 34 strlen(deviceSecret), 1); in board_setDeviceInfo() 41 char **deviceSecret) in board_getDeviceInfo() argument 68 if (NULL != deviceSecret) { in board_getDeviceInfo() 73 *deviceSecret = strdup(tmp); in board_getDeviceInfo() 75 *deviceSecret = NULL; in board_getDeviceInfo()
|
A D | board_info.h | 28 char *deviceSecret); 40 char **deviceSecret);
|
/AliOS-Things-master/components/amp/example-js/ |
A D | gateway.js | 6 var deviceSecret = 'abf0028f3d7ccf2b9c555826f32381d8'; variable 15 deviceSecret: 'caf25b3839a24a772be3d386f6c5bd74' 20 deviceSecret: '253ab8d388094c0087c4c9a2c58b7373' 62 deviceSecret: deviceSecret
|
A D | iot.js | 5 var deviceSecret = '2a6afba08a135efda3c49e4cc7684254'; /* your deviceSecret */ variable 14 deviceSecret: deviceSecret,
|
A D | ota.js | 7 var deviceSecret = ''; /* your deviceSecret */ variable 26 deviceSecret: deviceSecret
|
/AliOS-Things-master/solutions/javascript_demo/common/ |
A D | ulog_demo.js | 7 var deviceSecret = '*****'; /* 输入你的deviceSecret */ variable 49 deviceSecret: deviceSecret,
|
/AliOS-Things-master/components/amp/libjs/lib/ |
A D | iot.js | 8 if(!options || !options.productKey || !options.deviceName || !options.deviceSecret){ 15 deviceSecret: options.deviceSecret, property in IotDeviceClient.constructor.options 123 if(!options || !options.productKey || !options.deviceName || !options.deviceSecret){ 130 deviceSecret: options.deviceSecret, property in IotGatewayClient.constructor.options
|
/AliOS-Things-master/components/amp/jslib/src/ |
A D | iot.js | 8 if(!options || !options.productKey || !options.deviceName || !options.deviceSecret){ 15 deviceSecret: options.deviceSecret, property in IotDeviceClient.constructor.options 136 if(!options || !options.productKey || !options.deviceName || !options.deviceSecret){ 143 deviceSecret: options.deviceSecret, property in IotGatewayClient.constructor.options
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/speech/ |
A D | main.py | 26 deviceSecret = "XXXXXX" variable 41 global productSecret, productKey, deviceName, deviceSecret ,on_request, on_play 47 'deviceSecret': deviceSecret ,
|
/AliOS-Things-master/components/amp/test/ |
A D | test_iot.js | 12 var deviceSecret = 'StFYN4UigwDiRbhRwVFkFIKsEqpuaHKu'; variable 17 deviceSecret: deviceSecret,
|
/AliOS-Things-master/solutions/javascript_demo/ota_demo/ |
A D | ota_4g.js | 7 var deviceSecret = ''; /* your deviceSecret */ variable 26 deviceSecret: deviceSecret
|
A D | ota_wifi.js | 9 var deviceSecret = ''; /* your deviceSecret */ variable 30 deviceSecret: deviceSecret,
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/linkkit/ |
A D | main.py | 8 deviceSecret = "xxxxxxxxxxxxxxx" variable 14 'deviceSecret': deviceSecret ,
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaS200/python-apps/linkkit/ |
A D | main.py | 8 deviceSecret = "xxxxxxxxxxxxxxx" variable 14 'deviceSecret': deviceSecret ,
|
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/linkkit/ |
A D | main.py | 8 deviceSecret = "xxxxxxxxxxxxxxx" variable 14 'deviceSecret': deviceSecret ,
|
/AliOS-Things-master/components/mqtt/example/ |
A D | aiot_mqtt_sign.c | 34 int aiotMqttSign(const char *productKey, const char *deviceName, const char *deviceSecret, in aiotMqttSign() argument 43 if (productKey == NULL || deviceName == NULL || deviceSecret == NULL || in aiotMqttSign() 48 (strlen(deviceSecret) > DEVICESECRET_MAXLEN)) { in aiotMqttSign() 76 utils_hmac_sha256((unsigned char *)macSrc, strlen(macSrc), (unsigned char *)deviceSecret, in aiotMqttSign() 77 strlen(deviceSecret), macRes); in aiotMqttSign()
|
A D | mqtt_example.c | 23 extern int aiotMqttSign(const char *productKey, const char *deviceName, const char *deviceSecret, c…
|
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/ |
A D | app.js | 29 var deviceSecret = 'yourdevicesecret'; /* your deviceSecret */ variable 158 deviceSecret: deviceSecret
|
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/ |
A D | module_aiot_gateway.c | 444 const char *deviceSecret; in aiot_create_gateway() local 469 deviceSecret = mp_obj_str_get_str(mp_obj_dict_get(data, index)); in aiot_create_gateway() 476 productKey, deviceName, deviceSecret, keepaliveSec); in aiot_create_gateway() 483 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in aiot_create_gateway() 487 aos_kv_set(AMP_CUSTOMER_DEVICESECRET, deviceSecret, IOTX_DEVICE_SECRET_LEN, 1); in aiot_create_gateway() 640 const char *deviceSecret; in aiot_topo_common() local 688 deviceSecret = mp_obj_str_get_str(mp_obj_dict_get(subdev_items[i], index)); in aiot_topo_common() 689 subdev[i].device_secret = __amp_strdup(deviceSecret); in aiot_topo_common()
|
A D | module_aiot_device.c | 685 const char *deviceSecret; in aiot_create_device() local 710 deviceSecret = mp_obj_str_get_str(mp_obj_dict_get(data, index)); in aiot_create_device() 717 productKey, deviceName, deviceSecret, keepaliveSec); in aiot_create_device() 724 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in aiot_create_device() 728 aos_kv_set(AMP_CUSTOMER_DEVICESECRET, deviceSecret, IOTX_DEVICE_SECRET_LEN, in aiot_create_device()
|
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/advanced/aiot/ |
A D | module_aiot_device.c | 482 const char *deviceSecret; in native_aiot_create_device() local 519 deviceSecret = JS_ToCString(ctx,j_deviceSecret); in native_aiot_create_device() 521 … deviceName=%s deviceSecret=%s keepaliveSec=%d\n",productKey,deviceName,deviceSecret,keepaliveSec); in native_aiot_create_device() 528 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_device() 532 aos_kv_set(AMP_CUSTOMER_DEVICESECRET, deviceSecret, IOTX_DEVICE_SECRET_LEN, 1); in native_aiot_create_device() 565 if(deviceSecret != NULL){ in native_aiot_create_device() 566 JS_FreeCString(ctx, deviceSecret); in native_aiot_create_device()
|
A D | module_aiot_gateway.c | 419 const char *deviceSecret; in native_aiot_create_gateway() local 447 deviceSecret = JS_ToCString(ctx, ds); in native_aiot_create_gateway() 449 …eviceName=%s,deviceSecret=%s,keepaliveSec=%d", productKey, deviceName, deviceSecret, keepaliveSec); in native_aiot_create_gateway() 459 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_gateway() 462 aos_kv_set(AMP_CUSTOMER_DEVICESECRET, deviceSecret, IOTX_DEVICE_SECRET_LEN, 1); in native_aiot_create_gateway()
|
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/advanced/aiot/ |
A D | module_aiot_device.c | 519 const char *deviceSecret; in native_aiot_create_device() local 555 deviceSecret = duk_get_string(ctx, -2); in native_aiot_create_device() 563 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_device() 567 aos_kv_set(AMP_CUSTOMER_DEVICESECRET, deviceSecret, IOTX_DEVICE_SECRET_LEN, 1); in native_aiot_create_device()
|
A D | module_aiot_gateway.c | 481 const char *deviceSecret; in native_aiot_create_gateway() local 514 deviceSecret = duk_get_string(ctx, -2); in native_aiot_create_gateway() 522 memcpy(ota_svc->ds, deviceSecret, strlen(deviceSecret)); in native_aiot_create_gateway() 526 aos_kv_set(AMP_CUSTOMER_DEVICESECRET, deviceSecret, IOTX_DEVICE_SECRET_LEN, 1); in native_aiot_create_gateway()
|
/AliOS-Things-master/components/linkkit/dev_model/deprecated/ |
A D | linkkit_gateway_export.h | 241 char *deviceSecret);
|