From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Source sample custom Bluetooth
Date: Wed, 05 Jan 2005 12:44:21 +0100 [thread overview]
Message-ID: <1104925461.4299.8.camel@pegasus> (raw)
In-Reply-To: <6653F70C-5ECD-11D9-8017-000D9348D4BE@magnifeye.com>
Hi Jonathan,
> I have looked at the hcitool.c program and I am stuck by my lack of
> understanding. The cmd_cmd seems like what I want to do to read data
> from my custom device. What I want to do is given a device address, I
> want to read bytes from it and occasionally write to it. Is there a
> code fragment that you can point me to?
the HCI raw socket uses H4 as protocol with one packet per read or write
operation. The cmd_cmd() is not what you want, because you wanna send
data packets and not a HCI command.
> From the person who wrote the stack on our device.
>
> This is a connect device with a ACL DH5 packet type. The transfers are
> standard ACL L2CAP packets from the remote. The remote appears to the
> host as a master device, pushing down ACL packets when a button is
> pressed.
So do it uses L2CAP or not? However if not, why don't you get your
device fixed to response to L2CAP. Relying on ACL data packets is not
the best idea to get this working reliable.
Regards
Marcel
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-01-05 11:44 UTC|newest]
Thread overview: 44+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-24 10:13 [Bluez-users] Error when compiling bluez-utils CoCozZ geek
2004-12-24 12:41 ` Marcel Holtmann
2004-12-25 11:19 ` blookk -
2004-12-25 12:16 ` CoCozZ geek
2004-12-25 13:10 ` Marcel Holtmann
2004-12-25 13:19 ` CoCozZ geek
2004-12-25 13:47 ` Marcel Holtmann
2004-12-25 15:29 ` CoCozZ geek
2004-12-25 15:40 ` Marcel Holtmann
2004-12-25 17:23 ` CoCozZ geek
2004-12-25 17:28 ` Marcel Holtmann
2004-12-25 17:45 ` CoCozZ geek
2004-12-25 17:49 ` Marcel Holtmann
2004-12-25 17:54 ` CoCozZ geek
2004-12-25 17:58 ` Marcel Holtmann
2004-12-25 18:08 ` CoCozZ geek
2004-12-25 18:08 ` CoCozZ geek
2004-12-25 18:11 ` CoCozZ geek
2004-12-25 18:32 ` CoCozZ geek
2004-12-25 18:48 ` Marcel Holtmann
2004-12-27 2:03 ` [Bluez-users] How is the CTP in BLUEZ going? Heejune AHN
2004-12-26 19:11 ` Brad Midgley
2004-12-27 9:27 ` Heejune AHN
2004-12-27 5:26 ` Marcel Holtmann
2004-12-27 9:26 ` Heejune AHN
2004-12-31 20:30 ` [Bluez-users] Source sample custom Bluetooth Jonathan Sass
2005-01-01 18:40 ` Marcel Holtmann
2005-01-03 17:14 ` Jonathan Sass
2005-01-03 18:20 ` Marcel Holtmann
2005-01-03 18:38 ` Jonathan Sass
2005-01-03 18:56 ` Marcel Holtmann
2005-01-04 6:34 ` Jonathan Sass
2005-01-04 11:50 ` Marcel Holtmann
2005-01-05 3:53 ` Jonathan Sass
2005-01-05 11:44 ` Marcel Holtmann [this message]
2005-01-06 0:00 ` Jonathan Sass
2005-01-06 12:34 ` Marcel Holtmann
2005-08-29 6:46 ` [Bluez-users] Bluez PAN (bnep) Supports IP Multicast ? Heejune AHN
2005-08-29 9:43 ` Marcel Holtmann
2005-08-29 11:09 ` Claudio Takahasi
2005-08-29 11:19 ` Heejune AHN
2005-08-29 11:30 ` Marcel Holtmann
2005-09-01 12:05 ` Heejune AHN
[not found] <20050101041221.D959F32E17@sc8-sf-spam1.sourceforge.net>
2005-01-01 8:12 ` [Bluez-users] Source sample custom Bluetooth Tom Watson
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=1104925461.4299.8.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@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