Linux bluetooth development
 help / color / mirror / Atom feed
* How to test/debug bluetooth advertising [with hciconfig]?
@ 2013-08-28 10:22 Richard Neill
  2013-08-28 10:39 ` Andrei Emeltchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Richard Neill @ 2013-08-28 10:22 UTC (permalink / raw)
  To: linux-bluetooth

Dear All,

I'm trying to get "hello world" working from the shell between 2 
Bluetooth 4 dongles, in LE advertising mode. I wonder whether I could 
ask for some pointers?

As I understand it, Bluetooth low-energy supports up to 31 bytes of 
arbitrary text in the advertising packet. So it should be possible to 
set one dongle up in LE-advertising mode, and a second in LE-scan mode, 
and to transfer the "hello world" message from one to the other.

I'm rather stuck at the moment. I've discovered that there is an "LE Set 
Advertising Data" command, 0xcf (from "hciconfig hci0 commands_list"), 
and that "hcitool -i hci0 cmd 0xcf XXX YYY ZZZ" is how to send it. But I 
can't find any more documentation for the command set used by hcitool.

Can anyone help, with the commands I need, or by pointing me to the 
appropriate documentation/tutorial?

Thanks for your help,

Richard

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

end of thread, other threads:[~2013-08-28 14:45 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-28 10:22 How to test/debug bluetooth advertising [with hciconfig]? Richard Neill
2013-08-28 10:39 ` Andrei Emeltchenko
2013-08-28 11:09   ` Richard Neill
2013-08-28 11:10   ` Richard Neill
2013-08-28 11:54     ` Andrei Emeltchenko
2013-08-28 14:35       ` Richard Neill
2013-08-28 12:12     ` Andrei Emeltchenko
2013-08-28 14:10       ` Claudio Takahasi
2013-08-28 14:45         ` Richard Neill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox