Home
last modified time | relevance | path

Searched refs:deviceSecret (Results 1 – 25 of 26) sorted by relevance

12

/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_info.c19 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 Dboard_info.h28 char *deviceSecret);
40 char **deviceSecret);
/AliOS-Things-master/components/amp/example-js/
A Dgateway.js6 var deviceSecret = 'abf0028f3d7ccf2b9c555826f32381d8'; variable
15 deviceSecret: 'caf25b3839a24a772be3d386f6c5bd74'
20 deviceSecret: '253ab8d388094c0087c4c9a2c58b7373'
62 deviceSecret: deviceSecret
A Diot.js5 var deviceSecret = '2a6afba08a135efda3c49e4cc7684254'; /* your deviceSecret */ variable
14 deviceSecret: deviceSecret,
A Dota.js7 var deviceSecret = ''; /* your deviceSecret */ variable
26 deviceSecret: deviceSecret
/AliOS-Things-master/solutions/javascript_demo/common/
A Dulog_demo.js7 var deviceSecret = '*****'; /* 输入你的deviceSecret */ variable
49 deviceSecret: deviceSecret,
/AliOS-Things-master/components/amp/libjs/lib/
A Diot.js8 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 Diot.js8 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 Dmain.py26 deviceSecret = "XXXXXX" variable
41 global productSecret, productKey, deviceName, deviceSecret ,on_request, on_play
47 'deviceSecret': deviceSecret ,
/AliOS-Things-master/components/amp/test/
A Dtest_iot.js12 var deviceSecret = 'StFYN4UigwDiRbhRwVFkFIKsEqpuaHKu'; variable
17 deviceSecret: deviceSecret,
/AliOS-Things-master/solutions/javascript_demo/ota_demo/
A Dota_4g.js7 var deviceSecret = ''; /* your deviceSecret */ variable
26 deviceSecret: deviceSecret
A Dota_wifi.js9 var deviceSecret = ''; /* your deviceSecret */ variable
30 deviceSecret: deviceSecret,
/AliOS-Things-master/components/py_engine/tests/haas/HaaS100/python-apps/linkkit/
A Dmain.py8 deviceSecret = "xxxxxxxxxxxxxxx" variable
14 'deviceSecret': deviceSecret ,
/AliOS-Things-master/components/py_engine/tests/haas/HaaS200/python-apps/linkkit/
A Dmain.py8 deviceSecret = "xxxxxxxxxxxxxxx" variable
14 'deviceSecret': deviceSecret ,
/AliOS-Things-master/components/py_engine/tests/haas/HaaSEdu/python-apps/linkkit/
A Dmain.py8 deviceSecret = "xxxxxxxxxxxxxxx" variable
14 'deviceSecret': deviceSecret ,
/AliOS-Things-master/components/mqtt/example/
A Daiot_mqtt_sign.c34 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 Dmqtt_example.c23 extern int aiotMqttSign(const char *productKey, const char *deviceName, const char *deviceSecret, c…
/AliOS-Things-master/solutions/javascript_demo/agriculture_demo/
A Dapp.js29 var deviceSecret = 'yourdevicesecret'; /* your deviceSecret */ variable
158 deviceSecret: deviceSecret
/AliOS-Things-master/components/py_engine/modules/aliyunIoT/
A Dmodule_aiot_gateway.c444 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 Dmodule_aiot_device.c685 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 Dmodule_aiot_device.c482 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 Dmodule_aiot_gateway.c419 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 Dmodule_aiot_device.c519 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 Dmodule_aiot_gateway.c481 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 Dlinkkit_gateway_export.h241 char *deviceSecret);

Completed in 146 milliseconds

12