Go to previous topic
Go to next topic
Last Post 02 Nov 2016 06:40 AM by  Adam Ford
Linux-Bluetooth Pairing failure
 1 Replies
Author Messages
Hannibal Bauliah
New Member
New Member
Posts:13


--
01 Nov 2016 09:51 PM

    Hi,

        I am using DM3730 Torpedo SOM ( SOMDM3730-32-2780AKCR-A). I could bring the bluetooth interface UP and running. Here is the output from the command line.

    # hciconfig -a hci0
    hci0:   Type: BR/EDR  Bus: UART
            BD Address: 00:18:30:67:CC:48  ACL MTU: 1021:4  SCO MTU: 180:4
            UP RUNNING PSCAN ISCAN
            RX bytes:5531 acl:8 sco:0 events:138 errors:0
            TX bytes:1213 acl:8 sco:0 commands:74 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: 'dm3730_zoom_torpedo-0'
            Class: 0x400100
            Service Classes: Telephony
            Device Class: Computer, Uncategorized
            HCI Version: 4.0 (0x6)  Revision: 0x0
            LMP Version: 4.0 (0x6)  Subversion: 0x2b3b
            Manufacturer: Texas Instruments Inc. (13)

     

    I could scan the bluetooth devices successfully

     # hcitool scan
    Scanning ...
            E4:B3:18:2D:C3:E5       hbauliah
            22:22:97:8F:C4:65       Pixel C

    But when I try to connect to the bluetooth device using

    # hcitool cc 22:22:97:8F:C4:65

        I have trouble connecting to. Could you please let me know if I am missing some steps?

    P.S I am following the steps suggested by application note 605 and it suggests me to use the command
    simple-agent hci0 , Since I am using bluez5 I am not sure what the equivalent command is.

    Regards,

    Hannibal



    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    02 Nov 2016 06:40 AM
    We haven't tested it with BlueZ 5, mostly because Bluez5 requires Kernel 3.5, according to their release notes: http://www.bluez.org/release-of-bluez-5-0/

    Since our stock BSP uses the 3.0 kernel, we used a corresponding version of BlueZ for compatibility.

    I did some searching for simple-agent bluez5 and came across the following link. I am not sure if it will fully function or not, but you could try the recommendations found here:
    https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=133961


    adam


    ---