Hi, >> I am experiencing problems getting SDP information from some new >> Motorola phones (I am dealing with E770). Running "sdptool browse >> BDADDR", I get the attached hcidump. As it can be seen, after the SDP >> SSA request, the mobile phone does not respond any data and after 20 >> seconds (the SDP timeout compiled in bluez-libs), sdptool issues an ACL >> disconnect. During this time, the phone freezes completely. If I want to >> get a specific service (say, OBEX), there are no problems. >> >> From my understanding, the problem is that the Motorola phone does not >> deal correctly with the SDP query issued by bluez. I have been trying to >> debug sdptool and comparing to other implementations (Symbian seems to >> work OK with Motorola) but, as Marcel says, SDP is a horrible protocol. >> >> Has anybody experienced any similar problem? > > this problem also exists on the RARZ V3x and I called it ByeByeMoto, > because it stalls my complete phone. There can't be an easy workaround. > It is a really serious bug from Motorola and they should provide free > software upgrades to anyone. However I have no idea how they passed the > Bluetooth qualification with these devices. I have been trying to understand what is happening, in order to find a workaround. I do not know what are the internal structures of the SDP protocol and I could not follow sdp_service_search_attr_req(). In any case, I have seen that the SDP query created by Symbian works perfectly on these Motorola phones. I have attached the hcidump's (raw and decoded), if they could be of any use. The most important difference is the SDP SSA packet. Bluez: < ACL data: handle 41 flags 0x02 dlen 24 L2CAP(d): cid 0x0040 len 20 [psm 1] SDP SSA Req: tid 0x0 len 0xf pat uuid-16 0x1002 (PubBrwsGrp) max 65535 aid(s) 0x0000 - 0xffff cont 00 Symbian: > ACL data: handle 41 flags 0x02 dlen 17 L2CAP(d): cid 0x0040 len 13 [psm 1] SDP SS Req: tid 0x1 len 0x8 pat uuid-16 0x1002 (PubBrwsGrp) max 65535 cont 00 As it can be seen, tid and len are different and aid(s) is only in Bluez. I hope that this can be useful. Cheers, Pedro