Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 25 of 30) sorted by relevance

12

/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/gatt/
Dgatt_db.c43 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 …]
Dgatt_api.c295 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/
Dmesh_bearer_adapt.h563 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/
Dbta_gatts_api.c219 … 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()
Dbta_gatts_act.c422 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/
Desp_gatts_api.c135 … 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/
Dbtc_gatts.h95 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/
Dbtc_gatts.c346 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/
Dmesh_bearer_adapt.c883 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/
Dbta_gatts_int.h93 tBTA_GATT_PERM perm; member
107 tBTA_GATT_PERM perm; member
/hal_espressif-2.7.6/components/bt/host/bluedroid/api/include/api/
Desp_gatts_api.h400 … 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,
Desp_gatt_defs.h318 uint16_t perm; /*!< Attribute permission */ member
/hal_espressif-2.7.6/components/protocomm/src/transports/
Dprotocomm_ble.c377 (*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/
Dgatt_api.h775 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/
Dbta_gatt_api.h1327 … 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/
Dgatt_int.h730 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/
Dble_hidd.c220 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/
Dexample_ble_sec_gatts_demo.c89 esp_gatt_perm_t perm; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble_50/ble50_security_server/main/
Dble50_sec_gatts_demo.c71 esp_gatt_perm_t perm; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/gatt_server_service_table/main/
Dgatts_table_creat_demo.c144 esp_gatt_perm_t perm; member
/hal_espressif-2.7.6/tools/ci/
Dtest_build_system.sh148 … 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/
Dble_compatibility_test.c152 esp_gatt_perm_t perm; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_spp_server/main/
Dble_spp_server_demo.c92 esp_gatt_perm_t perm; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_server/main/
Dexample_ble_server_throughput.c178 esp_gatt_perm_t perm; member
/hal_espressif-2.7.6/examples/bluetooth/bluedroid/ble/gatt_server_service_table/tutorial/
DGatt_Server_Service_Table_Example_Walkthrough.md369 uint16_t perm; /*!< Attribute permission */
485 esp_gatt_perm_t perm;

12