Lines Matching refs:tGATT_ATTR16
103 return &((tGATT_ATTR16 *)p_db->p_attr_list)->p_value->uuid;
116 static tGATT_STATUS gatts_check_attr_readability(tGATT_ATTR16 *p_attr,
217 tGATT_ATTR16 *p_attr16 = (tGATT_ATTR16 *)p_attr;
226 status = gatts_check_attr_readability((tGATT_ATTR16 *)p_attr, offset, read_long, sec_flag, key_size);
253 len = (((tGATT_ATTR16 *)(p_attr16->p_next))->uuid_type == GATT_ATTR_UUID_TYPE_16) ? 5 :19;
260 if (((tGATT_ATTR16 *)(p_attr16->p_next))->uuid_type == GATT_ATTR_UUID_TYPE_16)
262 UINT16_TO_STREAM(p, ((tGATT_ATTR16 *)(p_attr16->p_next))->uuid);
329 tGATT_ATTR16 *p_attr;
336 p_attr = (tGATT_ATTR16 *)p_db->p_attr_list;
393 p_attr = (tGATT_ATTR16 *)p_attr->p_next;
415 tGATT_ATTR16 *p_attr;
426 if ((p_attr = (tGATT_ATTR16 *) allocate_attr_in_db(p_db, GATT_UUID_INCLUDE_SERVICE, NULL, GATT_PERM_READ)) != NULL)
464 tGATT_ATTR16 *p_char_decl, *p_char_val;
469 if ((p_char_decl = (tGATT_ATTR16 *)allocate_attr_in_db(p_db, GATT_UUID_CHAR_DECLARE, NULL, GATT_PERM_READ)) != NULL)
477 p_char_val = (tGATT_ATTR16 *)allocate_attr_in_db(p_db, uuid16, p_char_uuid->uu.uuid128, perm);
557 tGATT_ATTR16 *p_char_dscptr;
563 if ((p_char_dscptr = (tGATT_ATTR16 *)allocate_attr_in_db(p_db,
611 tGATT_ATTR16 *p_attr;
616 p_attr = (tGATT_ATTR16 *)p_db->p_attr_list;
632 p_attr = (tGATT_ATTR16 *)p_attr->p_next;
665 tGATT_ATTR16 *p_attr;
669 p_attr = (tGATT_ATTR16 *)p_db->p_attr_list;
680 p_attr = (tGATT_ATTR16 *) p_attr->p_next;
709 tGATT_ATTR16 *p_attr;
719 p_attr = (tGATT_ATTR16 *) p_db->p_attr_list;
861 p_attr = (tGATT_ATTR16 *)p_attr->p_next;
884 tGATT_ATTR16 *p_attr16 = NULL, *p_last;
886 UINT16 len = (uuid16 == 0) ? sizeof(tGATT_ATTR128): sizeof(tGATT_ATTR16);
912 p_attr16 = (tGATT_ATTR16 *) p_db->p_free_mem;
940 p_last = (tGATT_ATTR16 *)p_db->p_attr_list;
943 p_last = (tGATT_ATTR16 *)p_last->p_next;
976 tGATT_ATTR16 *p_cur, *p_next;
982 p_cur = (tGATT_ATTR16 *) p_db->p_attr_list;
983 p_next = (tGATT_ATTR16 *) p_cur->p_next;
986 p_cur = p_next, p_next = (tGATT_ATTR16 *)p_next->p_next)
1133 tGATT_ATTR16 *p_attr;
1139 if ((p_attr = (tGATT_ATTR16 *)(allocate_attr_in_db(p_db, service_type, NULL, GATT_PERM_READ))) != NULL)