Skip to contentSkip to conversation

Bluetooth Service

Bluez-users Zia Syed 2 participants 4 messages Feb 19, 2004 Bluetooth drivers

lore
Share & tools
lore

Zia Syed

author
#0 lore raw

Hi,

I was wondering how can I create my own Bluetooth service using Bluez? I was looking for any Bluez programming guide or sumthing but no luck :(. Can anyone guide/advise me about how to implement custom bluetooth service?

Thanks.

Zia

-------------------------------------------------------
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 Zia,

Quoted 4 lines

I was wondering how can I create my own Bluetooth service using Bluez? I was looking for any Bluez programming guide or sumthing but no luck :(. Can anyone guide/advise me about how to implement custom bluetooth service?

what kind of service do you wanna implement?

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

author
#2 lore raw

Hi Marcel,

At first, I would want to make a simple chat application lookalike. The aim would be for client to discover services and establish connection to the server socket. Once having that, I was thinking about streaming other web-contents/xml using the connection. While reading the Bluetooth specification, I read about HTTP service, but again I don't know whether if its implemented in Bluez, or how can it can be implemented.

Also, for me the mystery is what happens when the service is being discovered? How does the client makes the connection to the service itself? Is there any relevant documentation around over it?

Thanks.
Zia

Quoted 12 lines · Marcel Holtmann

Hi Zia,

Quoted 4 lines

I was wondering how can I create my own Bluetooth service using Bluez? I was looking for any Bluez programming guide or sumthing but no luck :(. Can anyone guide/advise me about how to implement custom bluetooth service?

what kind of service do you wanna implement?

Regards

Marcel

maintainer
#3 lore raw

Hi Zia,

Quoted 10 lines

At first, I would want to make a simple chat application lookalike. The aim would be for client to discover services and establish connection to the server socket. Once having that, I was thinking about streaming other web-contents/xml using the connection. While reading the Bluetooth specification, I read about HTTP service, but again I don't know whether if its implemented in Bluez, or how can it can be implemented.

Also, for me the mystery is what happens when the service is being discovered? How does the client makes the connection to the service itself? Is there any relevant documentation around over it?

you can use L2CAP or RFCOMM based sockets for it. The BlueZ utils/test directory contains example programs for it. You should look at it and start writing your own code. Look at my latest slides for a more general overview (http://www.holtmann.org/papers/bluetooth/wtc2003_slides.pdf).

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