Skip to contentSkip to conversation

ttyS0 problem

Bluez-devel david 1 participant 1 message Oct 10, 2005 1 message not in the archive Bluetooth drivers

lore
Share & tools
lore

david

author
#1 lore raw
In reply to a message not in the archive

Hi marcel,

=D4=DA 2005-10-10=D2=BB=B5=C4 13:08 +0800=A3=ACdavid=D0=B4=B5=C0=A3=BA

Quoted 4 lines

Hi David,
=20

Quoted 2 lines
Quoted 1 line

What commands do you wanna send?

The command is HCI_GO_TO_SLEEP_IND(0x30) which is only one byte. It is=

a

Quoted 1 line
Quoted 1 line

vendor specific command used to ask the BT device to go to sleep. If B=

T

Quoted 10 lines
Quoted 2 lines

device receives the command, maybe it would response HCILL_GO_TO_SLEEP_ACK(0x31) command to the host.

=20
do you have the specification of these vendor commands? Is this command according to the HCI specification or is it an extension of the H:4 transport protocol?
=20

Quoted 3 lines
Quoted 1 line

after step 1, you must use the HCI raw socket to send commands

=20
Is this means we cannot write command to ttyS0 directly through write(=

)

Quoted 8 lines
Quoted 1 line

function?

=20
After calling hciattach the kernel takes over the serial port via the line discipline and the reads and writes are useless.
=20
Regards
=20
Marcel

The HCILL is a proprietary protocal, providng BRF6100 and the HOST with the deterministic way to independently go into their standby mode. These commands are provided by BRF6100 Fireware Release, Vendor specific Command, HCI document of TI.=20

Regards,

David

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel