| Reply | « Previous Thread | Next Thread » |
|
Hi,
Does anyone know how i may request the UID of an application advertising a service from a remote device? I'm interested in quickly identifying a suitable service by checking the remote application's UID (which is responsible for that service). I am using the same application on both end devices. How may i do this? Is this common practice? As far as i've read i don't think the application UID is associated with the SDP database ...right? Thanks.. - aDvo - |
|
In BluetoothAdvertiser coding example the application UID is set as a ServiceID. See btadvertiserappview.cpp:
-----CLIP----------- // UID for application static const TInt KUidBTAdvertiserAppValue = {0x10005B8C}; ... // Add a Unique ID to the record iSdpDatabase.UpdateAttributeL(iRecord, KSdpAttrIdServiceID, KUidBTAdvertiserAppValue); ----END--------------- The ServiceID could be requested by a remote device using AttributeRequestL() function (defined in CSdpAgent class in btsdp.h). Seppo Forum Nokia |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|