Home
last modified time | relevance | path

Searched refs:app_key (Results 1 – 13 of 13) sorted by relevance

/AliOS-Things-master/components/uvoice/application/alicloudtts/
A Dalicloudtts.c103 if (!config->app_key) { in uvoice_tts_aliyun_init()
161 snprintf(g_tts_config.app_key, sizeof(g_tts_config.app_key), "%s", config->app_key); in uvoice_tts_aliyun_init()
280 …ALIYUN_TTS_HTTP_URL, g_tts_config.app_key, g_tts_config.token, utf8_text, tts_format[g_tts_config.… in uvoice_tts_aliyun_request()
A Dalicloudtts.h9 char app_key[20]; /* get it form the cloud service */ member
/AliOS-Things-master/components/uvoice/test/
A Dtest_tts.c36 tts_config.app_key = "NULL"; in alicloud_tts_config()
46 if(0 == strcmp(tts_config.app_key, "NULL")) { in alicloud_tts_config()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/
A Dprovisioner_main.h88 int bt_mesh_provisioner_local_app_key_add(const u8_t app_key[16], u16_t net_idx, u16_t *app_idx);
124 int bt_mesh_temp_prov_app_idx_set(const u8_t app_key[16], u16_t net_idx, u16_t *app_idx, u8_t *stat…
A Dcrypto.h72 static inline int bt_mesh_app_id(const u8_t app_key[16], u8_t app_id[1]) in bt_mesh_app_id()
74 return bt_mesh_k4(app_key, app_id); in bt_mesh_app_id()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dprovisioner_main.c713 static int provisioner_check_app_key(const u8_t app_key[16], u16_t *app_idx) in provisioner_check_app_key()
718 if (!app_key) { in provisioner_check_app_key()
726 …f (key->appkey_active && (!memcmp(key->keys[0].val, app_key, 16) || !memcmp(key->keys[1].val, app_… in provisioner_check_app_key()
859 int bt_mesh_provisioner_local_app_key_add(const u8_t app_key[16], u16_t net_idx, u16_t *app_idx) in bt_mesh_provisioner_local_app_key_add()
877 if (provisioner_check_app_key(app_key, app_idx)) { in bt_mesh_provisioner_local_app_key_add()
901 if (!app_key) { in bt_mesh_provisioner_local_app_key_add()
907 memcpy(p_key, app_key, 16); in bt_mesh_provisioner_local_app_key_add()
1462 int bt_mesh_temp_prov_app_idx_set(const u8_t app_key[16], u16_t net_idx, u16_t *app_idx, u8_t *stat… in bt_mesh_temp_prov_app_idx_set()
1467 if (!app_key || !app_idx || !status) { in bt_mesh_temp_prov_app_idx_set()
1503 err = bt_mesh_provisioner_local_app_key_add(app_key, net_idx, app_idx); in bt_mesh_temp_prov_app_idx_set()
A Dsettings.c57 app_key:1, /* 1 if this is an AppKey, 0 if a NetKey */ member
1383 if (update->app_key) { in store_pending_keys()
1389 if (update->app_key) { in store_pending_keys()
1671 static struct key_update *key_update_find(bool app_key, u16_t key_idx, struct key_update **free_slo… in key_update_find() argument
1687 if (update->app_key != app_key) { in key_update_find()
1724 free_slot->app_key = 0; in bt_mesh_store_subnet()
1752 free_slot->app_key = 1; in bt_mesh_store_app_key()
1796 free_slot->app_key = 0; in bt_mesh_clear_subnet()
1823 free_slot->app_key = 1; in bt_mesh_clear_app_key()
A Dtransport.c490 struct bt_mesh_app_key *app_key = NULL; in bt_mesh_trans_send() local
496 app_key = bt_mesh_app_key_find(tx->ctx->app_idx); in bt_mesh_trans_send()
498 if (!app_key) { in bt_mesh_trans_send()
502 if (tx->sub->kr_phase == BT_MESH_KR_PHASE_2 && app_key->updated) { in bt_mesh_trans_send()
503 key = app_key->keys[1].val; in bt_mesh_trans_send()
504 tx->aid = app_key->keys[1].id; in bt_mesh_trans_send()
506 key = app_key->keys[0].val; in bt_mesh_trans_send()
507 tx->aid = app_key->keys[0].id; in bt_mesh_trans_send()
A Dcfg_cli.c1282 …pp_key_add(u16_t net_idx, u16_t addr, u16_t key_net_idx, u16_t key_app_idx, const u8_t app_key[16], in bt_mesh_cfg_app_key_add()
1308 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_app_key_add()
1323 …key_update(u16_t net_idx, u16_t addr, u16_t key_net_idx, u16_t key_app_idx, const u8_t app_key[16], in bt_mesh_cfg_app_key_update()
1347 net_buf_simple_add_mem(&msg, app_key, 16); in bt_mesh_cfg_app_key_update()
/AliOS-Things-master/components/uvoice/application/alicloudtts/include/
A Duvoice_tts.h22 char *app_key; /* get it form the cloud service */ member
/AliOS-Things-master/components/py_engine/modules/audio/
A Duvoicetts.c107 config.app_key = (char *)get_str_from_dict(config_in, "app_key"); in uvoice_tts_init()
120 … config.app_key, config.token, config.format, config.sample_rate, config.voice, config.volume, in uvoice_tts_init()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Dcfg_cli.h63 …pp_key_add(u16_t net_idx, u16_t addr, u16_t key_net_idx, u16_t key_app_idx, const u8_t app_key[16],
79 …key_update(u16_t net_idx, u16_t addr, u16_t key_net_idx, u16_t key_app_idx, const u8_t app_key[16],
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_node/
A Dmesh_node.c265 const uint8_t *app_key; in ble_mesh_node_appkey_add() local
268 app_key = bt_mesh_provisioner_local_app_key_get(netkey_idx, appkey_idx); in ble_mesh_node_appkey_add()
270 if (NULL == app_key) { in ble_mesh_node_appkey_add()
274 ret = bt_mesh_cfg_app_key_add(0, unicast_addr, netkey_idx, appkey_idx, app_key, NULL); in ble_mesh_node_appkey_add()

Completed in 32 milliseconds