You Are Here:

Community: Developer Discussion Boards

#1 Old 6230 DeviceClass API returns wrong bits? - 2004-10-14, 11:14

Join Date: Jul 2004
Posts: 8
mlaverd
Offline
Registered User
Hello all!

I'm implementing an application that requires to analyze CODs.

Major service bits are OK, but minor service bits are wrong.

I'm comparing those values with the official BT reference:
https://www.bluetooth.org/foundry/as...ument/baseband


For example, I detect a cellphone, and I get: 01010000, which means nothing in the spec. I should be getting 00000100 or 00001100.

I'm detecting a laptop, and I'm getting 00010000, which is a deviceclass for a handheld, not a laptop.

Detecting a computer, I'm getting 00110000, which, again, means nothing at all. I should be getting 00000100.

Has anyone faced values like those? Is that a known bug in Nokia's BT implementation? I could always check against those specific values, but I'm afraid of making my code not portable.

All suggestions welcomed
Reply With Quote

#2 Old 2004-10-16, 19:24

Join Date: Jan 2004
Posts: 128
ferranhalden
Offline
Regular Contributor
Hi,

I am trying to filtering Bluetooth devices specifying the major class TInquirySockAddr::SetMajorClassOfDevice () before calling RHostResolver::GetByAddress(). However, it doesn't work.

It seems that you are able to get the Major Service class of the bluetooth devices. Could you please inform me about the approach you are using?

Best regards,

Fernnado
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia