View Single Post
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#72
Ok, thanks for explanation.
Maybe you know how to check if BT connected to any device, when icon is white on the lockscreen ?

Ok found how to chek... I can run this command and if it connected to something it will show me the address:
Code:
[root@Jolla ~]# hcitool con|awk '{print $3}'|grep -v '^$'
00:26:7E:0A:17:84
[root@Jolla ~]#
Now if I want to see the real name of connected device:
Code:
[root@Jolla ~]# address=$(hcitool con|awk '{print $3}'|grep -v '^$')
[root@Jolla ~]# hcitool name $address
Parrot Minikit Slim v1.31
[root@Jolla ~]#

Last edited by Schturman; 2014-04-27 at 10:29.