linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] Sending arbitrary data to a connected device
@ 2005-11-26 19:23 Rutger Hendriks
  2005-11-26 19:32 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Rutger Hendriks @ 2005-11-26 19:23 UTC (permalink / raw)
  To: bluez-devel

[-- Attachment #1: Type: text/plain, Size: 940 bytes --]

Hi all,

I have a bluetooth device here that has an LCD display. I want to be able to 
send arbitrary data to the device. This way I can (hopefully) make text 
appear on the LCD display. The problem is, that I can not find enough 
documentation to send the arbitrary data. So I'm hoping to find some help 
here...

What I have done so far:
- Open the hci device
- Create a connection to the LCD device (I have no idea what all the ptype 
flags (HCI_DM1 etc...) in hci_create_connection do :( ). This gives me a 
handle to the LCD device.
- I now can send hci_send_req's by filling in ogf and ocf with e.g. 
OGF_STATUS_PARAM and OCF_READ_RSSI to read the RSSI.

But, now I'm stuck. What function can I call to send arbitrary hex data?
Do I use hci_send_req and fill in other values for ogf/ocf and plug the data 
into rparam? Or do I use another function? (which??)
Any help is appreciated!

Greetings
Rutger Hendriks

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-11-29 20:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-26 19:23 [Bluez-devel] Sending arbitrary data to a connected device Rutger Hendriks
2005-11-26 19:32 ` Marcel Holtmann
2005-11-28 15:20   ` Rutger Hendriks
2005-11-28 15:29     ` Peter Wippich
2005-11-28 20:12     ` Marcel Holtmann
2005-11-29  9:38       ` Rutger Hendriks
2005-11-29 10:13         ` Marcel Holtmann
2005-11-29 10:46           ` Rutger Hendriks
2005-11-29 13:39             ` Marcel Holtmann
2005-11-29 20:16               ` Collin R. Mulliner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).