Re: [Bluez-users] BlueZ API documentation
flat view
From: Marcel Holtmann <marcel@holtmann.org>
Date: 2007-09-10 23:42:11
Hi Brown,
Not problem. I think I should get used to the src code.
One quick question though (just to get around what I'm currently stuck
with)
I want to programatically control the disovery status of my local BT
device.
Meaning - my program should be able to set the BT device status so
that other device cannot "see" it.
I noticed these in hci.h
#define OCF_WRITE_SCAN_ENABLE 0x001A
#define SCAN_DISABLED 0x00
#define SCAN_INQUIRY 0x01
#define SCAN_PAGE 0x02
But I am not sure what API's should be used and how.if you wanna mess around with the HCI directly then you are on your own. Why don't you use the nice D-Bus API we have. I gives you everything you need and takes care of all the minor details you don't even wanna know about. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users