blueZ and SAP
A message that is not in the archive (sent off-list or not yet received): [email protected]
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