In The Hand - .NET Components for Mobility
ElementType Enumeration
NamespacesInTheHand.Net.BluetoothElementType
Represents the types that an SDP element can hold.
Declaration Syntax
C#Visual Basic
public enum ElementType
Public Enumeration ElementType
Members
MemberDescription
Unknown
Nil
UInt8
UInt16
UInt32
UInt64
UInt128
Int8
Int16
Int32
Int64
Int128
Uuid16
Uuid32
Uuid128
TextString
Boolean
ElementSequence
ElementAlternative
Url
Remarks

(Is a logical combination of the ElementTypeDescriptor field which defines the major type and the size field in the binary format; and the size field being made up of the SizeIndex field and any additional length bytes.

Note, the values here are not the numerical bitwise combination of the ElementTypeDescriptor and SizeIndex fields as they appear in the encoded protocol. It was simpler to assign arbitrary values here as firstly we wanted zero to be the 'Unknown' value, which conflicts with Nil's bitwise value; but also because the TextString, sequence and Url types can have various SizeIndex values and thus they wouldn’t be easily representable by one value here).

Assembly: InTheHand.Net.Personal (Module: InTheHand.Net.Personal) Version: 2.2.0.0