public class UUIDs extends ADStructure
This class covers the following data types. See Generic Access Profile (GAP) for the official list of data types.
Data Type Value | Data Type Name |
---|---|
0x02 |
Incomplete List of 16-bit Service Class UUIDs |
0x03 |
Complete List of 16-bit Service Class UUIDs |
0x04 |
Incomplete List of 32-bit Service Class UUIDs |
0x05 |
Complete List of 32-bit Service Class UUIDs |
0x06 |
Incomplete List of 128-bit Service Class UUIDs |
0x07 |
Complete List of 128-bit Service Class UUIDs |
0x14 |
List of 16-bit Service Solicitation UUIDs |
0x15 |
List of 128-bit Service Solicitation UUIDs |
0x1F |
List of 32-bit Service Solicitation UUIDs |
This class was renamed from ADUUIDs
to UUIDs
when the version was upgraded to 1.4.
Constructor and Description |
---|
UUIDs()
Constructor to create an instance with length=0, type=0, data=null and UUIDs=null.
|
UUIDs(int length,
int type,
byte[] data,
UUID... uuids)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
UUID[] |
getUUIDs()
Get the list of UUIDs.
|
void |
setUUIDs(UUID[] uuids)
Set the list of UUIDs.
|
String |
toString() |
public UUIDs()
public UUIDs(int length, int type, byte[] data, UUID... uuids)
length
- The length of the AD structure.type
- The AD type.data
- The AD data.uuids
- UUID list.public UUID[] getUUIDs()
public void setUUIDs(UUID[] uuids)
uuids
- UUID list.public String toString()
toString
in class ADStructure
Copyright © 2016. All rights reserved.