View Single Post
Posts: 97 | Thanked: 318 times | Joined on Feb 2012 @ Switzerland
#595
@mautz

Yes I tested more than 120 seconds, sometimes even listening to some music.

In the script I check for an existing connection with this 'if' statement
Code:
if  [ "$(hcitool con | grep \>)" == "" ] ; then
...
I I do the 'hcitool' command in the terminal with an existing connection, I get ...
Code:
[root@Sailfish nemo]# hcitool con | grep \>
	> ACL 00:0D:44:AD:FF:E1 handle 11 state 1 lm MASTER AUTH ENCRYPT
And... You need to be 'root' to get some info with 'hcitool'
 

The Following 2 Users Say Thank You to minimec For This Useful Post: