Home
last modified time | relevance | path

Searched refs:uid (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/
Dsettings_uid.c38 static inline bool settings_uid_empty(struct settings_uid *uid) in settings_uid_empty() argument
40 return (uid->id[0] == '\0') ? true : false; in settings_uid_empty()
216 struct settings_uid *uid = &user_ids[index]; in settings_open() local
222 if (uid->open == true) { in settings_open()
235 memset(uid->name, 0, sizeof(uid->name)); in settings_open()
236 sprintf(uid->name, "%s_%02x", "mesh_core", index); in settings_open()
238 err = bt_mesh_settings_nvs_open(uid->name, &uid->handle); in settings_open()
240 BT_ERR("Open nvs failed, name %s, err %d", uid->name, err); in settings_open()
244 if (settings_uid_empty(uid)) { in settings_open()
250 sprintf(uid->id, "%04x", index); in settings_open()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/
Desp_ble_mesh_networking_api.c632 esp_err_t esp_ble_mesh_provisioner_open_settings_with_uid(const char *uid) in esp_ble_mesh_provisioner_open_settings_with_uid() argument
637 if (!uid || strlen(uid) > ESP_BLE_MESH_SETTINGS_UID_SIZE) { in esp_ble_mesh_provisioner_open_settings_with_uid()
647 strncpy(arg.open_settings_with_uid.uid, uid, ESP_BLE_MESH_SETTINGS_UID_SIZE); in esp_ble_mesh_provisioner_open_settings_with_uid()
675 esp_err_t esp_ble_mesh_provisioner_close_settings_with_uid(const char *uid, bool erase) in esp_ble_mesh_provisioner_close_settings_with_uid() argument
680 if (!uid || strlen(uid) > ESP_BLE_MESH_SETTINGS_UID_SIZE) { in esp_ble_mesh_provisioner_close_settings_with_uid()
690 strncpy(arg.close_settings_with_uid.uid, uid, ESP_BLE_MESH_SETTINGS_UID_SIZE); in esp_ble_mesh_provisioner_close_settings_with_uid()
718 esp_err_t esp_ble_mesh_provisioner_delete_settings_with_uid(const char *uid) in esp_ble_mesh_provisioner_delete_settings_with_uid() argument
723 if (!uid || strlen(uid) > ESP_BLE_MESH_SETTINGS_UID_SIZE) { in esp_ble_mesh_provisioner_delete_settings_with_uid()
733 strncpy(arg.delete_settings_with_uid.uid, uid, ESP_BLE_MESH_SETTINGS_UID_SIZE); in esp_ble_mesh_provisioner_delete_settings_with_uid()
748 uint8_t esp_ble_mesh_provisioner_get_settings_index(const char *uid) in esp_ble_mesh_provisioner_get_settings_index() argument
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/api/core/include/
Desp_ble_mesh_networking_api.h506 esp_err_t esp_ble_mesh_provisioner_open_settings_with_uid(const char *uid);
572 esp_err_t esp_ble_mesh_provisioner_close_settings_with_uid(const char *uid, bool erase);
602 esp_err_t esp_ble_mesh_provisioner_delete_settings_with_uid(const char *uid);
622 uint8_t esp_ble_mesh_provisioner_get_settings_index(const char *uid);
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/include/
Dbtc_ble_mesh_prov.h235 char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; member
242 char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; member
249 char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; member
383 uint8_t btc_ble_mesh_provisioner_get_settings_index(const char *uid);
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Davrc_defs.h915 tAVRC_UID uid; /* The uid of this folder */ member
931 tAVRC_UID uid; /* The uid of this media element item */ member
1087 tAVRC_UID uid; member
1107 tAVRC_UID uid; member
1117 tAVRC_UID uid; member
/hal_espressif-latest/components/bt/esp_ble_mesh/btc/
Dbtc_ble_mesh_prov.c867 uint8_t btc_ble_mesh_provisioner_get_settings_index(const char *uid) in btc_ble_mesh_provisioner_get_settings_index() argument
869 return bt_mesh_provisioner_get_settings_index(uid); in btc_ble_mesh_provisioner_get_settings_index()
2136 strncpy(param.provisioner_open_settings_with_uid_comp.uid, in btc_ble_mesh_prov_call_handler()
2137 arg->open_settings_with_uid.uid, ESP_BLE_MESH_SETTINGS_UID_SIZE + 1); in btc_ble_mesh_prov_call_handler()
2139 bt_mesh_provisioner_open_settings_with_uid(arg->open_settings_with_uid.uid, in btc_ble_mesh_prov_call_handler()
2151 strncpy(param.provisioner_close_settings_with_uid_comp.uid, in btc_ble_mesh_prov_call_handler()
2152 arg->close_settings_with_uid.uid, ESP_BLE_MESH_SETTINGS_UID_SIZE + 1); in btc_ble_mesh_prov_call_handler()
2154 bt_mesh_provisioner_close_settings_with_uid(arg->close_settings_with_uid.uid, in btc_ble_mesh_prov_call_handler()
2166 strncpy(param.provisioner_delete_settings_with_uid_comp.uid, in btc_ble_mesh_prov_call_handler()
2167 arg->delete_settings_with_uid.uid, ESP_BLE_MESH_SETTINGS_UID_SIZE + 1); in btc_ble_mesh_prov_call_handler()
[all …]
/hal_espressif-latest/components/bt/esp_ble_mesh/api/
Desp_ble_mesh_defs.h1288 char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; /*!< Provisioner settings user id */ member
1303 char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; /*!< Provisioner settings user id */ member
1318 char uid[ESP_BLE_MESH_SETTINGS_UID_SIZE + 1]; /*!< Provisioner settings user id */ member