You Are Here:

Community: Developer Discussion Boards

#1 Old JABWT - getAttributeIDs() - help needed - 2006-04-22, 00:34

Join Date: Apr 2006
Posts: 1
Lukasz Kaminski
Offline
Registered User
There is this method in ServiceRecord class: int[] getAttributeIDs(). It returns a list of attribute IDs of attributes of this record.

Let's take a service record instance retrieved by servicesDiscovered method. This service record contains only four default attributes and attributes that have been asked for already. There is a way to get more information - populateRecord(int[]), but that int[] to pass is a list of attribute IDs of attributes to retrieve.

Is there a way to determine without any prior knowledge of service type, which attributes are set in a corresponding service record on remote device? Or should I just call populateRecord (0xFFFF)/(bluetooth.sd.attr.retrievable.max) times to get them all?
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
Similar Threads
Thread Thread Starter Forum Replies Last Post
Porting 9210 appl to 9500 help needed urgently teddi General Discussion 0 2004-08-14 19:27
Beta testers needed alex_crowther Mobile Java General 1 2004-03-19 16:14
3 items needed to access the Internet votecedu General Discussion 0 2003-10-31 11:14
Help needed: Distinguish between midi and sp-midi content from a *.mid file davidkkl Smart Messaging 0 2003-09-02 18:23
What are needed to program BT of 7650 mainul_2001 Bluetooth Technology 2 2002-09-25 07:44

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