Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Raw Sockets
Date: Wed, 25 May 2005 19:22:19 +0200	[thread overview]
Message-ID: <1117041739.12036.1.camel@pegasus> (raw)
In-Reply-To: <6951a38b05052510161e87e507@mail.gmail.com>

Hi Nuno,

> 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.
>  
> 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??

why do you resend your question? I already answered your first one.

Regards

Marcel




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

  reply	other threads:[~2005-05-25 17:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-25 17:16 [Bluez-devel] Raw Sockets Nuno Gomes
2005-05-25 17:22 ` Marcel Holtmann [this message]
2005-05-25 18:56   ` Nuno Gomes
  -- strict thread matches above, loose matches on Subject: below --
2005-05-24 16:32 Nuno Gomes
2005-05-24 17:06 ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1117041739.12036.1.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox