Thread (2 messages) read the whole thread 2 messages, 2 authors, 2011-02-24

Re: Help hcitool cmd (hci to connect)

From: haijun liu <hidden>
Date: 2011-02-24 01:23:57

Thibaut,
I remember there is a monitor for hci connection, if nobody reference
it for a while, then it will issue a disconnect request, so you'd
better make a l2cap connection on it to keep it alive.

Haijun.Liu
skype: liu.haijun

On 2/22/11, Thibaut L [off-list ref] wrote:
Dear all,

Please, could anyone tell me how to connect to a bluetooth device
through hcitool (BlueZ) hci command. Like this: "hcitool cmd 0x01
0x0005 [parameters]". How can I input this cmd? Is the [parameters] a
bt device MAC adress like XX:XX:XX:XX:XX:XX?

I've tryed to use "hcitool cc <MAC>", but it doesn't work for me cause
it disconnects the device a second later.

I just wanna measure RSSI.

Thanks in advance.

Best

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

-- 
Haijun Liu
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help