Return-Path: Message-ID: <6951a38b05052510161e87e507@mail.gmail.com> From: Nuno Gomes To: bluez-devel@lists.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Subject: [Bluez-devel] Raw Sockets Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net Reply-To: bluez-devel@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ development List-Post: List-Help: List-Subscribe: , List-Archive: Date: Wed, 25 May 2005 18:16:02 +0100 Hello, I'm writting from Portugal and I'm developing an application with bluez. This application's objective is to develop an program to receive data from several bluetooth devices and create a Data Base with that information. I need to use Raw Sockets, so I can create specific headers for the bluetooth packets. =20 Rigth now I'm having some problems using this raw sockets... So, I have some questions... 1 - How can I capture bluetooth packets using Raw Sockets? I'm declaring sockets like this: socket(AF_BLUETOOTH, SOCK_RAW, BTPROTO= _HCI) Should it be diferent??? 2 - What kind of structure do I need to use to manage the packets (in sockets tcp/ip we use specific structures to receive/send packets with the libpcap) 3 - Can I use read and write structures to send and receive the packets?? =20 Thats all for now...=20 Thank You all for the help... --=20 Nuno Miguel Gomes Has just sent you an E-mail!!! ------------------------------------------------------- SF.Net email is sponsored by: GoToMeeting - the easiest way to collaborate online with coworkers and clients while avoiding the high cost of travel and communications. There is no equipment to buy and you can meet as often as you want. Try it free.http://ads.osdn.com/?ad_id=7402&alloc_id=16135&op=click _______________________________________________ Bluez-devel mailing list Bluez-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-devel