2007-04-02 09:10:14

by siddhant tewari

[permalink] [raw]
Subject: [Bluez-users] getting RFComm channel of the device.

hi,
I would like to know how can one know the rfcomm channel number of any
particular device.

Right now method that i am following is first getting making and sdp querry
and then traversing over the result to get the channel number.

Can anyone tell me whether the method i have mentioned is the right way or
there is another faster or more appropriate method as time required for
making sdp querry is quite large.

regards
siddhant


Attachments:
(No filename) (439.00 B)
(No filename) (507.00 B)
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-04-02 10:35:39

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-users] getting RFComm channel of the device.

Hi Siddhant,

> I would like to know how can one know the rfcomm channel number
> of any particular device.
>
> Right now method that i am following is first getting making and sdp
> querry and then traversing over the result to get the channel number.
>
> Can anyone tell me whether the method i have mentioned is the right
> way or there is another faster or more appropriate method as time
> required for making sdp querry is quite large.

the SDP query is the only way to get the RFCOMM channel number.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users