Skip to contentSkip to conversation

blueZ and SAP

Bluez-devel Mayank Batra 1 participant 1 message Jun 20, 2006 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi Goetz,

First of all, please do not reply on individual ids.

Quoted 11 lines

first of all I am happy to hear that there is somebody out there working on this too. I thought I was on my own since I never got any helpful response on the list so far.

I have been checking the returned values in 2 ways.

First I tried to use "read()" on the socket on which I did the "write()" before. I got no response at all. By the way, I am using Nokia 6810 and a Siemens S65 for testing.

Hang on, if you do a read() before write(), won't the read block your thread? and your control will never reach the write()?
Or are you using different threads for the read and write?

I have a report/thesis to hand in in 2 weeks and am soo stuck on this

Quoted 4 lines

problem. I need to implement the whole sap profile. Panic!

If you have any decend code I can use... please help. If you want I can send you the code I have so far.

No, I did not have any code actually, I just made the RFCOMM connection, and I was sending the connect_req etc on this rfcomm device (/dev/rfcomm0). So I wrote the connect_req in hex form in a file and then simply did cat file > /dev/rfcomm0

Regards,
Mayank

_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel