Lines Matching refs:uuid16
40 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, UINT16 uuid16, UINT8 *p_uuid128, tGATT_PERM perm);
213 UINT16 len = 0, uuid16 = 0;
229 uuid16 = p_attr16->uuid;
237 (uuid16 == GATT_UUID_CHAR_DESCRIPTION || uuid16 == GATT_UUID_CHAR_AGG_FORMAT))
242 if (uuid16 == GATT_UUID_PRI_SERVICE || uuid16 == GATT_UUID_SEC_SERVICE)
251 else if (uuid16 == GATT_UUID_CHAR_DECLARE)
272 else if (uuid16 == GATT_UUID_INCLUDE_SERVICE)
282 UINT16_TO_STREAM(p, p_attr16->p_value->incl_handle.service_type.uu.uuid16);
343 attr_uuid.uu.uuid16 = p_attr->uuid;
418 s_handle, e_handle, service.uu.uuid16);
465 UINT16 uuid16 = (p_char_uuid->len == LEN_UUID_16) ? p_char_uuid->uu.uuid16 : 0;
477 p_char_val = (tGATT_ATTR16 *)allocate_attr_in_db(p_db, uuid16, p_char_uuid->uu.uuid128, perm);
512 std_descr.uu.uuid16 ++;
516 std_descr.uu.uuid16 ++;
520 std_descr.uu.uuid16 ++;
524 std_descr.uu.uuid16 ++;
528 std_descr.uu.uuid16 ++;
532 std_descr.uu.uuid16 ++;
558 UINT16 uuid16 = (p_descr_uuid->len == LEN_UUID_16)? p_descr_uuid->uu.uuid16 : 0;
560 GATT_TRACE_DEBUG1("gatts_add_char_descr uuid=0x%04x", p_descr_uuid->uu.uuid16);
564 uuid16,
882 static void *allocate_attr_in_db(tGATT_SVC_DB *p_db, UINT16 uuid16, UINT8 *uuid128, tGATT_PERM perm)
886 UINT16 len = (uuid16 == 0) ? sizeof(tGATT_ATTR128): sizeof(tGATT_ATTR16);
890 if (uuid16 == GATT_ILLEGAL_UUID && uuid128 == NULL)
917 if (uuid16 != GATT_ILLEGAL_UUID)
920 p_attr16->uuid = uuid16;