Skip to contentSkip to conversation

programming reference with Bluez

Bluez-users Datha 3 participants 3 messages Aug 17, 2005 Bluetooth drivers

lore
Share & tools
lore

Datha

author
#0 lore raw

Hi,
Can I get some high level documents, programming reference on bluez.

I want to write a 'C' code to discover the devices around the PC, know about the services as it is done with the Mobile phone.

For example phones like Nokia6600 will serach for devices around and gives a list. I know how to do that in Symbian but how is it done with the Linux?

Can somebody help me?

Thanks,
Datha

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#1 lore raw
Quoted 11 lines · Datha

Hi,
Can I get some high level documents, programming reference on bluez.

I want to write a 'C' code to discover the devices around the PC, know about the services as it is done with the Mobile phone.

For example phones like Nokia6600 will serach for devices around and gives a list. I know how to do that in Symbian but how is it done with the Linux?

Have a look at hcitool.c in bluez-utils's source code.The basic code should be under the function 'cmd_scan()'.

Quoted 9 lines

Can somebody help me?

Thanks,
Datha

--
chmj

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

#2 lore raw
In reply to Datha

Hi,

This can be done using "hcitool scan". This will list you the devices.

Thanks & Regards,
Mohan

Quoted 4 lines · Datha

Hi,
Can I get some high level documents, programming reference on bluez. =20
I want to write a 'C' code to discover the devices around the PC, know ab=

out the

Quoted 3 lines

services as it is done with the Mobile phone.
=20
For example phones like Nokia6600 will serach for devices around and give=

s a

Quoted 4 lines

list. I know how to do that in Symbian but how is it done with the Linux? =20
Can somebody help me?
=20

Quoted 8 lines

Thanks,
Datha
=20
=20
=20
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=

es

Quoted 1 line

Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=

A

Quoted 6 lines

Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users