BlueLibs documentation

SDPAttribute.GetProtocolStack Method 

Constructs new Protocol stack attribute

[Visual Basic]
Public Shared Function GetProtocolStack( _
   ByVal StackSize As UInt16, _
   ByVal rfcomm_port As Byte _
) As SDPAttribute
[C#]
public static SDPAttribute GetProtocolStack(
   ushort StackSize,
   byte rfcomm_port
);

Parameters

StackSize
1 - include lcap, 2 - include rfcomm also 3 obex also
rfcomm_port

Return Value

new SDPAttribute object

See Also

SDPAttribute Class | BlueLibs.SDP Namespace