Skip to contentSkip to conversation

How to update SDP records

DISCUSSION Mario Limonciello 2 participants 3 messages Feb 10, 2009 – Feb 11, 2009 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

Hi guys:

I was looking at the Bluez 4.x API and don't see any way for requesting an updated set of SDP records for a device. My Blackberry will not connect advertising that it can receive OBEX transfers at all (the File Transfer Agent isn't in SDP records). This is because by default that mode is turned off on the device. There is an option to turn it on momentarily to receive a file, but then it turns back off.

Because of this, it's impossible to pair the device with the SDP record for File Transfer on it's list. Is there somewhere in the API that I am missing that allows you to request an updated set of records for a device?

Regards

Signature · 3 lines
Mario Limonciello
*Dell | Linux Engineering*
[email protected]
maintainer
#1 lore raw

Hi Mario,

Quoted 10 lines

I was looking at the Bluez 4.x API and don't see any way for requesting an updated set of SDP records for a device. My Blackberry will not connect advertising that it can receive OBEX transfers at all (the File Transfer Agent isn't in SDP records). This is because by default that mode is turned off on the device. There is an option to turn it on momentarily to receive a file, but then it turns back off.

Because of this, it's impossible to pair the device with the SDP record for File Transfer on it's list. Is there somewhere in the API that I am missing that allows you to request an updated set of records for a device?

I think what you are looking for is the Device.DiscoverServices() method. This one lets you trigger SDP.

Regards

Marcel

#2 lore raw

Hi Marcel:

Quoted 4 lines · Marcel Holtmann

Hi Mario,

Quoted 9 lines

I think what you are looking for is the Device.DiscoverServices() method. This one lets you trigger SDP.

Regards

Marcel

Thanks, that sounds like it's the correct method. I must have missed it because I was searching the API for the acronym "SDP".

Regards

Signature · 3 lines
Mario Limonciello
*Dell | Linux Engineering*
[email protected]