johnboyo
Posts: 12
Joined: Thu Nov 17, 2005 9:07 pm
Location: Ireland

RFCOMM Port

Fri Nov 18, 2005 3:16 pm

Hi Guys

Is it possible to retrieve the RFCOMM Channel number (as shown in bold in the below trace). If so which Class/Method in the API will provide this?

Thanks
John

Service Name: Hands-Free Audio Gateway
Service RecHandle: 0x10000
Service Class ID List:
"Handfree Audio Gateway" (0x111f)
"Generic Audio" (0x1203)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 1
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Handfree Audio Gateway" (0x111f)
Version: 0x0101

User avatar
johan
GpsGate
Posts: 15145
Joined: Wed Aug 04, 2004 10:40 pm
Location: Sweden
Contact: Website

RE: RFCOMM Port

Fri Nov 18, 2005 5:09 pm

Use Address.ServiceChannelNumber. All services, and devices have an Address property.

Regards,
Johan

Franson Support

johnboyo
Posts: 12
Joined: Thu Nov 17, 2005 9:07 pm
Location: Ireland

RE: RFCOMM Port

Fri Nov 18, 2005 6:23 pm

Yep got it thanks.

John

Return to “BlueTools”