In The Hand - .NET Components for Mobility
ServiceRecordHelper Class
NamespacesInTheHand.Net.BluetoothServiceRecordHelper
Some useful methods for working with a SDP ServiceRecord including creating and accessing the ProtocolDescriptorList for an RFCOMM service.
Declaration Syntax
C#Visual Basic
public static class ServiceRecordHelper
Public NotInheritable Class ServiceRecordHelper
Members
All MembersMethods



IconMemberDescription
CreateGoepProtocolDescriptorList()()()
Creates the data element for the ProtocolDescriptorList attribute in an GOEP (i.e. OBEX) service

CreateRfcommProtocolDescriptorList()()()
Creates the data element for the ProtocolDescriptorList attribute in an RFCOMM service

GetRfcommChannelElement(ServiceRecord)
Reads the RFCOMM Channel Number element from the service record.

GetRfcommChannelNumber(ServiceRecord)
Reads the RFCOMM Channel Number value from the service record, or returns -1 if the element is not present.

SetRfcommChannelNumber(ServiceRecord, Byte)
Sets the RFCOMM Channel Number value in the service record.

Inheritance Hierarchy
Object
ServiceRecordHelper

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