From: dmmalavi <dmm...@sy...> - 2011-06-08 14:11:07
|
Hi Julien, For same on promt: $ hciconfig hcix iscan OR $ hciconfig hcix piscan This will enable inquiry scan and your peer device will be able to detect your overo. Regards, DM juliusKT wrote: > > Dear all, > > I cannot auto detect the overo Bluetooth from another device. > > ********* scan from pc side **************** > j@K:$ hcitool scan > Scanning ... > ********************************** > > Which parameter should I configure? I let all by default. > My kernel and images are the original, I just added the missing file > /etc/bluetooth/hcid.conf: > > image: Angstrom 2010.7-test-20100909 overo ttyS2 > kernel: Linux version 2.6.34 (st...@ww...) (gcc version 4.3.3 > (GCC) ) #1 Wed Oct 20 10:22:48 PDT 2010 > > > The HCID_ENABLE is TRUE in /etc/default/bluetooth. > > In the device section of the /etc/bluetooth/hcid.conf, there is: > iscan enable; pscan enable; > > But the hci config gives (NO ISCAN!!): > > ***** hciconfig *************** > root@(none):~# hciconfig > hci0: Type: BR/EDR Bus: UART > BD Address: 00:19:88:2D:07:BF ACL MTU: 310:10 SCO MTU: 64:8 > UP RUNNING PSCAN > RX bytes:721 acl:0 sco:0 events:24 errors:0 > TX bytes:376 acl:0 sco:0 commands:24 errors:0 > ******************************** > > I can ping the overo from a pc: > > ****** ping pc -> overo ********** > j@K:$ hcitool dev > Devices: > hci0 00:0C:76:AB:4C:18 > > j@K:$ sudo l2ping 00:19:88:19:F6:73 > [sudo] password for jtharin: > Ping: 00:19:88:19:F6:73 from 00:0C:76:AB:4C:18 (data size 44) ... > 44 bytes from 00:19:88:19:F6:73 id 0 time 39.86ms > 44 bytes from 00:19:88:19:F6:73 id 1 time 39.00ms > ^C2 sent, 2 received, 0% loss > ************************************* > > > or from the overo side: > > ****** ping overo -> pc ********** > > root@overo:~# hcitool dev > Devices: > hci0 00:19:88:19:F6:73 > > root@overo:~# l2ping 00:0C:76:AB:4C:18 > Ping: 00:0C:76:AB:4C:18 from 00:19:88:19:F6:73 (data size 44) ... > 44 bytes from 00:0C:76:AB:4C:18 id 0 time 45.04ms > 44 bytes from 00:0C:76:AB:4C:18 id 1 time 22.86ms > ^C2 sent, 2 received, 0% loss > > > Or scan from the overo: > > ********* scan overo **************** > root@overo:~# hcitool scan > Scanning ... > 00:0C:76:AB:4C:18 KHEPERA05 > ************************************** > > > Thank you and best regards, > Julien > -- View this message in context: http://old.nabble.com/Gumstix-overo-Bluetooth-autodetection-tp31800229p31800973.html Sent from the Gumstix mailing list archive at Nabble.com. |