2 Replies Latest reply on Nov 19, 2019 6:21 PM by lightcollector

    Bluetooth on Ultra96V2


      I'm trying to connect a keyboard via bluetooth on Ultra96V2 board.

      But it does not work well.

      Could anyone give me any advices to connect?

      followings are my operations..


      1. boot a board by Linux from http://avnet.me/ultra96-v2-oob.

      2. login by root

      3. use a script as blow

        echo BT_POWER_UP > /dev/wilc_bt

        echo BT_DOWNLOAD_FW > /dev/wilc_bt

        echo BT_FW_CHIP_WAKEUP > /dev/wilc_bt

          # after this command, same messages are shown repeatedly that is " [  341.066759] Another device is preventing allow sleep operation. request source is Wifi"


        stty -F /dev/ttyS1 115200

        stty -F /dev/ttyS1 crtscts

        hciattach /dev/ttyS1 -t 10 any 115200 noflow nosleep

          # this command looks like work well a moment, but timeout message came up after few seconds.

             [  171.245441] Bluetooth: hci0 command 0x1003 tx timeout

             [  173.261438] Bluetooth: hci0 command 0x1001 tx timeout

             [  175.277387] Bluetooth: hci0 command 0x1009 tx timeout


        hciconfig -a

          # this command gives a message but BD Address looks like weird.

            hciconfig -a

            hci0:    Type: Primary  Bus: UART

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

                DOWN INIT RUNNING

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

                TX bytes:12 acl:0 sco:0 commands:3 errors:0

                Features: 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00

                Packet type: DM1 DH1 HV1

                Link policy:

                Link mode: SLAVE ACCEPT