Bluetooth config

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bluetooth config

Gumstix mailing list

If I power up my Gumstix Overo IronSTORM-Y without an SD card I get:

 

Poky (Yocto Project Reference Distro) 1.7.1

 

Probing the Bluetooth gives:

hciconfig -a

hci0:   Type: BR/EDR  Bus: UART

        BD Address: 5C:31:3E:D0:8A:E0  ACL MTU: 1021:6  SCO MTU: 180:4

        UP RUNNING PSCAN ISCAN

        RX bytes:678 acl:0 sco:0 events:40 errors:0

        TX bytes:1025 acl:0 sco:0 commands:40 errors:0

        Features: 0xff 0xfe 0x2d 0xfe 0xdb 0xff 0x7b 0x87

        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3

        Link policy: RSWITCH HOLD SNIFF

        Link mode: SLAVE ACCEPT

        Name: 'overo-0'

        Class: 0x400100

        Service Classes: Telephony

        Device Class: Computer, Uncategorized

        HCI Version: 4.0 (0x6)  Revision: 0x0

        LMP Version: 4.0 (0x6)  Subversion: 0xac6c

        Manufacturer: Texas Instruments Inc. (13)

 

And I can see the overo device from my PC dongle software.  All well and good – nothing wrong with the hardware.

 

If, however, I reboot using the SD card with Angstrom on, I have to

hciattach -r /dev/ttyO1 any 115200

&

hciconfig hci0 up

 

before hciconfig does anything:

 

hci0:   Type: BR/EDR  Bus: UART

        BD Address: 00:00:00:00:00:00  ACL MTU: 0:0  SCO MTU: 0:0

        UP RUNNING RAW

        RX bytes:0 acl:0 sco:0 events:0 errors:0

        TX bytes:4 acl:0 sco:0 commands:1 errors:0

 

Does the zero address mean that the BT module is off?

My PC software doesn’t find any device.

I have GPIO164 exported to userland (we were using a WaterStorm) and I manually set it to 1.

Have I missed a command?

 

dmesg | grep Blue

[    0.101959] Bluetooth: Core ver 2.16

[    0.102020] Bluetooth: HCI device and connection manager initialized

[    0.102050] Bluetooth: HCI socket layer initialized

[    0.102050] Bluetooth: L2CAP socket layer initialized

[    0.102172] Bluetooth: SCO socket layer initialized

[    1.202270] Bluetooth: HCI UART driver ver 2.2

[    1.202270] Bluetooth: HCI H4 protocol initialized

[    1.202301] Bluetooth: HCI BCSP protocol initialized

[    1.202301] Bluetooth: HCILL protocol initialized

[    1.205474] Bluetooth: RFCOMM TTY layer initialized

[    1.205474] Bluetooth: RFCOMM socket layer initialized

[    1.205505] Bluetooth: RFCOMM ver 1.11

Is this sufficient?

 

 

Richard Woodham

Thermoteknix Systems Limited
Teknix House, 2 Pembroke Avenue, Waterbeach, Cambridge CB25 9QR, England
Tel. +44 1223 204037
Fax +44 1223 204001
webpage: www.thermoteknix.com

The Queen's Award for Enterprise 2015: Innovation

Thermoteknix Systems Ltd is an ISO 9001:2008 certified company registered in England and Wales. Registered number: 01624251.
Registered office: 6th Floor, Cardinal House, 20 St Mary's Parsonage, Manchester M3 2LG

 


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
gumstix-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gumstix-users