• Home
  • Raw
  • Download

Lines Matching refs:p_attr

474   tGATT_ATTR* p_attr = find_attr_by_handle(p_db, handle);  in gatts_read_attr_value_by_handle()  local
475 if (!p_attr) return GATT_NOT_FOUND; in gatts_read_attr_value_by_handle()
478 tGATT_STATUS status = read_attr_value(*p_attr, offset, &pp, in gatts_read_attr_value_by_handle()
483 status = gatts_send_app_read_request(tcb, cid, op_code, p_attr->handle, in gatts_read_attr_value_by_handle()
484 offset, trans_id, p_attr->gatt_type); in gatts_read_attr_value_by_handle()
512 tGATT_ATTR* p_attr = find_attr_by_handle(p_db, handle); in gatts_read_attr_perm_check() local
513 if (!p_attr) return GATT_NOT_FOUND; in gatts_read_attr_perm_check()
515 return gatts_check_attr_readability(*p_attr, 0, is_long, sec_flag, key_size); in gatts_read_attr_perm_check()
546 tGATT_ATTR* p_attr = find_attr_by_handle(p_db, handle); in gatts_write_attr_perm_check() local
547 if (!p_attr) return GATT_NOT_FOUND; in gatts_write_attr_perm_check()
549 tGATT_PERM perm = p_attr->permission; in gatts_write_attr_perm_check()
555 __func__, p_attr->permission, min_key_size); in gatts_write_attr_perm_check()
620 if (p_attr->uuid.IsEmpty()) { in gatts_write_attr_perm_check()
622 } else if (p_attr->uuid.Is16Bit()) { in gatts_write_attr_perm_check()
623 switch (p_attr->uuid.As16Bit()) { in gatts_write_attr_perm_check()
650 if (p_attr->uuid.Is16Bit() && in gatts_write_attr_perm_check()
651 (p_attr->uuid.As16Bit() == GATT_UUID_CHAR_CLIENT_CONFIG || in gatts_write_attr_perm_check()
652 p_attr->uuid.As16Bit() == GATT_UUID_CHAR_SRVR_CONFIG)) { in gatts_write_attr_perm_check()