Re: How to test/debug bluetooth advertising [with hciconfig]?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Richard,

On Wed, Aug 28, 2013 at 11:22:01AM +0100, Richard Neill wrote:
> 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
$ hcitool cmd --help
Usage:
	cmd <ogf> <ocf> [parameters]

Check ogf and ocf from the Bluetooth Specification.

Best regards 
Andrei Emeltchenko 

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux