ElementType Enumeration

Represents the types that an SDP element can hold.

Definition

Namespace: InTheHand.Net.Bluetooth.Sdp
Assembly: InTheHand.Net.Bluetooth (in InTheHand.Net.Bluetooth.dll) Version: 4.0.32+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
C#
public enum ElementType

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).

Members

Unknown0 
Nil20 
UInt821 
UInt1622 
UInt3223 
UInt6424 
UInt12825 
Int830 
Int1631 
Int3232 
Int6433 
Int12834 
Uuid1640 
Uuid3241 
Uuid12842 
TextString43 
Boolean44 
ElementSequence45 
ElementAlternative46 
Url47 

See Also