/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_db.c | 43 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, tBT_UUID *p_uuid, tGATT_PERM perm); 125 tGATT_PERM perm = p_attr->permission; in gatts_check_attr_readability() local 131 min_key_size = (((perm & GATT_ENCRYPT_KEY_SIZE_MASK) >> 12)); in gatts_check_attr_readability() 137 if (!(perm & GATT_READ_ALLOWED)) { in gatts_check_attr_readability() 142 if ((perm & GATT_READ_AUTH_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_LKEY_UNAUTHED) && in gatts_check_attr_readability() 148 if ((perm & GATT_READ_MITM_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED)) { in gatts_check_attr_readability() 153 if ((perm & GATT_READ_ENCRYPTED_REQUIRED ) && !(sec_flag & GATT_SEC_FLAG_ENCRYPTED)) { in gatts_check_attr_readability() 158 …if ( (perm & GATT_READ_ENCRYPTED_REQUIRED) && (sec_flag & GATT_SEC_FLAG_ENCRYPTED) && (key_size < … in gatts_check_attr_readability() 163 …if ((perm & GATT_READ_AUTHORIZATION) && (!(sec_flag & GATT_SEC_FLAG_LKEY_AUTHED) || !(sec_flag & G… in gatts_check_attr_readability() 512 UINT16 gatts_add_characteristic (tGATT_SVC_DB *p_db, tGATT_PERM perm, in gatts_add_characteristic() argument [all …]
|
D | gatt_api.c | 295 tGATT_PERM perm, tGATT_CHAR_PROP property, in GATTS_AddCharacteristic() argument 305 if ( ((property & GATT_CHAR_PROP_BIT_AUTH) && !(perm & GATT_WRITE_SIGNED_PERM)) || in GATTS_AddCharacteristic() 306 ((perm & GATT_WRITE_SIGNED_PERM) && !(property & GATT_CHAR_PROP_BIT_AUTH)) ) { in GATTS_AddCharacteristic() 307 GATT_TRACE_DEBUG("Invalid configuration property=0x%x perm=0x%x\n ", property, perm); in GATTS_AddCharacteristic() 312 perm, in GATTS_AddCharacteristic() 337 tGATT_PERM perm, in GATTS_AddCharDescriptor() argument 354 perm, in GATTS_AddCharDescriptor()
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/include/ |
D | mesh_bearer_adapt.h | 563 uint8_t perm; member 576 .perm = BLE_MESH_GATT_PERM_READ, \ 591 .perm = BLE_MESH_GATT_PERM_READ, \ 606 .perm = BLE_MESH_GATT_PERM_READ, \ 622 .perm = BLE_MESH_GATT_PERM_READ, \ 642 .perm = _perm, \
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gatts_api.c | 219 … tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property, tGATT_ATTR_VAL *attr_val, in BTA_GATTS_AddCharacteristic() argument 232 p_buf->perm = perm; in BTA_GATTS_AddCharacteristic() 273 tBTA_GATT_PERM perm, in BTA_GATTS_AddCharDescriptor() argument 285 p_buf->perm = perm; in BTA_GATTS_AddCharDescriptor()
|
D | bta_gatts_act.c | 422 p_msg->api_add_char.perm, in bta_gatts_add_char() 470 p_msg->api_add_char_descr.perm, in bta_gatts_add_char_descr()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/api/ |
D | esp_gatts_api.c | 135 … esp_gatt_perm_t perm, esp_gatt_char_prop_t property, esp_attr_value_t *char_val, in esp_ble_gatts_add_char() argument 155 arg.add_char.perm = perm; in esp_ble_gatts_add_char() 174 esp_gatt_perm_t perm, esp_attr_value_t *char_descr_val, in esp_ble_gatts_add_char_descr() argument 194 arg.add_descr.perm = perm; in esp_ble_gatts_add_char_descr()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/include/ |
D | btc_gatts.h | 95 esp_gatt_perm_t perm; member 105 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/btc/profile/std/gatt/ |
D | btc_gatts.c | 346 tBTA_GATT_PERM perm; in btc_gatts_act_create_attr_tab() local 357 perm = gatts_attr_db[i+1].att_desc.perm; in btc_gatts_act_create_attr_tab() 365 perm, char_property, &attr_val, &control); in btc_gatts_act_create_attr_tab() 395 tBTA_GATT_PERM perm = gatts_attr_db[i].att_desc.perm; in btc_gatts_act_create_attr_tab() local 406 BTA_GATTS_AddCharDescriptor(svc_hal, perm, &bta_char_uuid, &attr_val, &control); in btc_gatts_act_create_attr_tab() 664 arg->add_char.perm, arg->add_char.property, in btc_gatts_call_handler() 672 BTA_GATTS_AddCharDescriptor(arg->add_descr.service_handle, arg->add_descr.perm, &uuid, in btc_gatts_call_handler()
|
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/ |
D | mesh_bearer_adapt.c | 883 static tBTA_GATT_PERM bt_mesh_perm_to_bta_perm(uint8_t perm) in bt_mesh_perm_to_bta_perm() argument 887 if ((perm & BLE_MESH_GATT_PERM_READ) == BLE_MESH_GATT_PERM_READ) { in bt_mesh_perm_to_bta_perm() 891 if ((perm & BLE_MESH_GATT_PERM_WRITE) == BLE_MESH_GATT_PERM_WRITE) { in bt_mesh_perm_to_bta_perm() 895 if ((perm & BLE_MESH_GATT_PERM_READ_ENCRYPT) == BLE_MESH_GATT_PERM_READ_ENCRYPT) { in bt_mesh_perm_to_bta_perm() 899 if ((perm & BLE_MESH_GATT_PERM_WRITE_ENCRYPT) == BLE_MESH_GATT_PERM_WRITE_ENCRYPT) { in bt_mesh_perm_to_bta_perm() 903 if ((perm & BLE_MESH_GATT_PERM_READ_AUTHEN) == BLE_MESH_GATT_PERM_READ_AUTHEN) { in bt_mesh_perm_to_bta_perm() 907 if ((perm & BLE_MESH_GATT_PERM_WRITE_AUTHEN) == BLE_MESH_GATT_PERM_WRITE_AUTHEN) { in bt_mesh_perm_to_bta_perm() 934 bta_uuid.uu.uuid16, svc->attrs[i].perm, svc_handle); in bt_mesh_gatts_service_register() 948 bta_uuid.uu.uuid16, svc->attrs[i].perm, svc_handle); in bt_mesh_gatts_service_register() 958 …eristic(svc_handle, &bta_uuid, bt_mesh_perm_to_bta_perm(svc->attrs[i + 1].perm), gatts_chrc->prope… in bt_mesh_gatts_service_register() [all …]
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/gatt/include/ |
D | bta_gatts_int.h | 93 tBTA_GATT_PERM perm; member 107 tBTA_GATT_PERM perm; member
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/api/include/api/ |
D | esp_gatts_api.h | 400 … esp_gatt_perm_t perm, esp_gatt_char_prop_t property, esp_attr_value_t *char_val, 422 esp_gatt_perm_t perm, esp_attr_value_t *char_descr_val,
|
D | esp_gatt_defs.h | 318 uint16_t perm; /*!< Attribute permission */ member
|
/hal_espressif-2.7.6/components/protocomm/src/transports/ |
D | protocomm_ble.c | 377 (*gatt_db_generated)[0].att_desc.perm = ESP_GATT_PERM_READ; in populate_gatt_db() 388 (*gatt_db_generated)[i].att_desc.perm = ESP_GATT_PERM_READ; in populate_gatt_db() 396 … (*gatt_db_generated)[i].att_desc.perm = ESP_GATT_PERM_READ | ESP_GATT_PERM_WRITE; in populate_gatt_db() 404 (*gatt_db_generated)[i].att_desc.perm = ESP_GATT_PERM_READ; in populate_gatt_db()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/include/stack/ |
D | gatt_api.h | 775 tGATT_PERM perm, tGATT_CHAR_PROP property, 797 extern UINT16 GATTS_AddCharDescriptor (UINT16 service_handle, tGATT_PERM perm,
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_gatt_api.h | 1327 … tBTA_GATT_PERM perm, tBTA_GATT_CHAR_PROP property, tGATT_ATTR_VAL *attr_val, 1348 tBTA_GATT_PERM perm,
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gatt/include/ |
D | gatt_int.h | 730 extern UINT16 gatts_add_characteristic (tGATT_SVC_DB *p_db, tGATT_PERM perm, 734 extern UINT16 gatts_add_char_descr (tGATT_SVC_DB *p_db, tGATT_PERM perm,
|
/hal_espressif-2.7.6/components/esp_hid/src/ |
D | ble_hidd.c | 220 static void add_db_record(esp_gatts_attr_db_t *db, size_t index, uint8_t *uuid, uint8_t perm, uint1… in add_db_record() argument 225 db[index].att_desc.perm = perm; in add_db_record()
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/gatt_security_server/main/ |
D | example_ble_sec_gatts_demo.c | 89 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/ |
D | ble50_sec_gatts_demo.c | 71 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/gatt_server_service_table/main/ |
D | gatts_table_creat_demo.c | 144 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/tools/ci/ |
D | test_build_system.sh | 148 … find ${CRLF_ESPIDF} -name .git -prune -name build -prune -type f ! -perm 755 -exec unix2dos {} \;
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_compatibility_test/main/ |
D | ble_compatibility_test.c | 152 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_spp_server/main/ |
D | ble_spp_server_demo.c | 92 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/ |
D | example_ble_server_throughput.c | 178 esp_gatt_perm_t perm; member
|
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/ |
D | Gatt_Server_Service_Table_Example_Walkthrough.md | 369 uint16_t perm; /*!< Attribute permission */ 485 esp_gatt_perm_t perm;
|