device doesn't support
Hi!
I want to know if my dongle supports the HCI_Write_Page_Timeout command, so I do:
#hcitool -i hci0 cmd 0x04 0x0003 (informational commands, read supported commands)
and I get:
< HCI Command: ogf 0x04, ocf 0x0003, plen 0
Quoted 1 line
HCI Event:
0x0eplen 12
01 03 10 00 FF FF 8F FE 9B F9 00 80
^
According to this results, the dongle supports HCI_Write_Page_Timeout, but I am getting 12 octets instead of 16 (BT spec.), Why?
Am I doing something wrong? Something related to bit-byte ordering? Is the information returned by hcitool correct? Please reply.
Thanks!
JM
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi,
Quoted 9 lines
I want to know if my dongle supports the
HCI_Write_Page_Timeoutcommand, so I do:#hcitool -i hci0 cmd
0x040x0003(informational commands, read supported commands)and I get:
< HCI Command: ogf
0x04, ocf0x0003, plen 0
Quoted 8 lines
Quoted 1 line
HCI Event:
0x0eplen 1201 03 10 00 FF FF 8F FE 9B F9 00 80
^According to this results, the dongle supports
HCI_Write_Page_Timeout, but I am getting 12 octets instead of 16 (BT spec.), Why?Am I doing something wrong? Something related to bit-byte ordering? Is the information returned by hcitool correct? Please reply.
and another decoding question where you could simple let hcidump -X -V do it for you. Also calling hciconfig hci0 pageto would tell you if the command works or not. Including hciconfig hci0 commands if you wanna get this specific list of supported commands.
There are manual pages available for every Bluetooth command. Please read them first before posting.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users