| Reply | « Previous Thread | Next Thread » |
|
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? |
| Lukasz Kaminski |
| View Public Profile |
| Find all posts by Lukasz Kaminski |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |