How to filter when discovering devices via RHostResolver

Login to reply to this topic.
Thu, 2008-04-10 14:39
Joined: 2008-01-03
Forum posts: 18

I am trying to search for other Bluetooth devices with a filter and this via RHost Resolver:

but i am not able to filter.

Can someone explain to me how i can use the TInquirySockAddr to filter for certain devices tru RHostResolver?

Commands such as

MajorClassOfDevice(), MajorServiceClass(), MinorClassOfDevice(), SetMajorClassOfDevice(), SetMajorServiceClass(), SetMinorClassOfDevice(),

are not really explained in the SDK help on how to use them, to filter devices

Thanks in advance!


Sat, 2008-04-12 11:28
Joined: 2007-08-29
Forum posts: 136
Re: How to filter when discovering devices via RHostResolver

Hi,

you can use BluetoothMPMPExample for reference which you can find out in forum.nokia.


Thanks & Regards
Ram

Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++

Mon, 2008-04-14 11:15
Joined: 2008-01-03
Forum posts: 18
Re: How to filter when discovering devices via RHostResolver

hi Ram

i was not able to that example
can u send me the link for that.

thanks for the reply .

Tue, 2008-04-15 04:06
Joined: 2007-08-29
Forum posts: 136
Re: How to filter when discovering devices via RHostResolver

Hi varun,

you can see this link. http://www.forum.nokia.com . you can download this S60 Platform: Bluetooth Point-to-Multipoint Example. I think it will help you.


Thanks & Regards
Ram

Symbian OS 9.1,S60 3rd edition MR,and Carbide.C++

Tue, 2008-04-15 14:34
Joined: 2008-01-03
Forum posts: 18
Re: How to filter when discovering devices via RHostResolver

Hi Ram

thanks for the example.

I also wanted to know do we have any other alternative of device filtering. other than using CSdpAgent.
i am using RhostResolver class. I mean not the BT UI.

Tue, 2008-04-15 16:14
Joined: 2008-01-03
Forum posts: 18
Re: How to filter when discovering devices via RHostResolver

one more thing to add is i want search only bluetooth printers.

so i am not able to filter devices as boex is supported on mobile as well as on printer thus filtering is not achieved here.

Mon, 2008-04-21 06:59
Joined: 2008-01-03
Forum posts: 18
Re: How to filter when discovering devices via RHostResolver

thanks to all

i figured out my self.

i am able to do the filtering now .

  • Login to reply to this topic.