Skip to contentSkip to conversation

Where I can find description ??

Bluez-users Zbyszek 2 participants 2 messages Feb 25, 2004 Bluetooth drivers

lore
Share & tools
lore

Zbyszek

author
#0 lore raw

hi all

My name is Zbyszek. My final year project includes communication between ce= ll phone and pc via Bluetooth.I have problem with BlueZ. My problem is that= , I never programmed in Bluetooth and when I look at source code in directo= ry "test" I see many function f.e. "getsockopt(s, SOL\_L2CAP, L2CAP\_OPTION= S, \&opts, \&opts\_len)" but there is no describtion for them. So I'm askin= g you, could you tell me, where I can find any documentations describing th= ese functions.
It is very important for me, and I have little time left.=20
I will be very grateful for any help.

regards
Zbyszek

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

maintainer
#1 lore raw

Hi Zbyszek,

Quoted 1 line

My name is Zbyszek. My final year project includes communication between cell phone and pc via Bluetooth.I have problem with BlueZ. My problem is that, I never programmed in Bluetooth and when I look at source code in directory "test" I see many function f.e. "getsockopt(s, SOL\_L2CAP, L2CAP\_OPTIONS, \&opts, \&opts\_len)" but there is no describtion for them. So I'm asking you, could you tell me, where I can find any documentations describing these functions.

if you want to access your mobile phone you should not look at L2CAP, you should look at RFCOMM. The RFCOMM socket programming is much simpler and there are plenty good examples. You can look at attest.c to see how to read the phonebook using AT commands. Maybe my slides from my last workshop are also helpful

http://www.holtmann.org/papers/bluetooth/wtc2003_slides.pdf

And of course you can look at the Gnokii or MultiSync projects.

Regards

Marcel

-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users