This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bluetooth USB dongle SCO, L2CAP support for Beaglebone Black with SDK 7.00.00.00

Are there any way to enable bluetooth SCO, L2CAP with Beaglebone SDK 7.00.00.00?
I want to communicate through Bluetooth USB dongle.

With "make ARCH=arm menuconfig", I can't find the option for the following configurations, which is needed to enable described for other distributions.
CONFIG_BT_L2CAP
CONFIG_BT_SCO
CONFIG_BT_HCIUSB
CONFIG_BT_HCIUSB_SCO
CONFIG_USB
CONFIG_USB_DEVICEFS

Please let me know how to enable them with SDK 7.00.00.00.

  • Hi,

    Have you checked the following locations through menuconfig ?

        Networking → <*>Bluetooth subsystem support (CONFIG_BT)
        Networking → Bluetooth subsystem support → <*>L2CAP protocol support (CONFIG_BT_L2CAP)
        Networking → Bluetooth subsystem support → <*>SCO links support (CONFIG_BT_SCO)
        Networking → Bluetooth subsystem support → <*>RFCOMM protocol support (CONFIG_BT_RFCOMM)
        Networking → Bluetooth subsystem support → [*]RFCOMM TTY support (CONFIG_BT_RFCOMM_TTY)
        Networking → Bluetooth subsystem support → <*>BNEP protocol support (CONFIG_BT_BNEP)
        Networking → Bluetooth subsystem support → <*>HID protocol support (CONFIG_BT_HID)
        Networking → Bluetooth subsystem support → Bluetooth device drivers → <M>HCI USB driver (CONFIG_BT_HCIUSB)
        Networking → Bluetooth subsystem support → Bluetooth device drivers → [*]SCO (voice) support (CONFIG_BT_HCIUSB_SCO)

  • Hi,

    #
    # Makefile for the Linux Bluetooth subsystem.
    #
    
    obj-$(CONFIG_BT)	+= bluetooth.o
    obj-$(CONFIG_BT_RFCOMM)	+= rfcomm/
    obj-$(CONFIG_BT_BNEP)	+= bnep/
    obj-$(CONFIG_BT_CMTP)	+= cmtp/
    obj-$(CONFIG_BT_HIDP)	+= hidp/
    
    bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o \
    	hci_sock.o hci_sysfs.o l2cap_core.o l2cap_sock.o smp.o sco.o lib.o \
    	a2mp.o amp.o

    The makefile implies the information that you can get L2CAP and SCO support once you enabled bluetooth subsystem support.

  • Hi Titus,

    Thank you for your support.

    I'm sorry that my response is too late.

    For your first advice, 

    I can find only following lines under "Bluetooth subsystem support" by "make ARCH=arm menuconfig" with SDK 7.00.00.00.

    < > RFCOMM protocol support

    < > BNEP protocol support

    < > HIDP protocol support

         Bluetooth device drivers ---->

    I want to know how to display other options you indicated.

    Regards,

    TOMINAGA 'Tommy' Satoshi

  • Hi Satoshi,

    I can find only following lines under "Bluetooth subsystem support" by "make ARCH=arm menuconfig" with SDK 7.00.00.00.

    < > RFCOMM protocol support

    < > BNEP protocol support

    < > HIDP protocol support

         Bluetooth device drivers ---->

    I want to know how to display other options you indicated.

    Sorry for the very first reply and that is applicable for older kernel version.

    From latest SDK's "Makefile" ,  you can get all the BT protocol support ( L2CAP and SCO support) once you enabled bluetooth subsystem support.

    Enable "Bluetooth subsystem support" and check that whether appropriate BT object files created or not (.o)

    l2cap_core.o l2cap_sock.o smp.o sco.o

  • Hi Titus,

    Thank you for your support.

    I can find these object files at linux-3.12.10-ti2013.12.01/net/bluetooth.

    I finally want to make audio communication between BeagleBone Black ALSA audio and mobile phone using Bluetooth USB dongle, HFP.
    I'm checked various sites on related issues, but I can not get the result described in the sites with BBB.
    For example,
    - USBFS support
    - Installing Bluez for hciconfig, etc.

    If there is the information for this issue using TI SDK 7.00.00.00, please let me know.

    Regards,
    TOMINAGA Satoshi

  • Hi Tominaga,

    I finally want to make audio communication between BeagleBone Black ALSA audio and mobile phone using Bluetooth USB dongle, HFP.

    Please refer to the TI wikis for bluez and hciconfig.

    http://processors.wiki.ti.com/index.php/BTS_with_BLE_enabled_for_WL127xL

    http://processors.wiki.ti.com/index.php/WL127x_Bluetooth_API_Information

  • Hi Titus,

    Thank you for your support.
    Sorry for my late reply.

    I'm currently focus on other activities on BBB, so I have no time to try your information.
    I think I'll be able to check them within one month.

    I want to know the applicable SDK about your information.

    It seems that these information are created before the release of SDK 7.00.00.00.
    Are these tips are applicable to current SDK for BBB? or need modifications?

    Regards,
    Tommy

  • Hi Tommy,

    I'm not sure but you can try it out.

  • Hi Titus,

    I see. I'll try.

    Regards,

    TOMINAGA 'Tommy' Satoshi

  • Hi,

    I'm trying, but I've just found that the tool-chain can't build shared library.

    For example, when I execute configure in libiconv, the following lines are logged.

    checking whether the arm-linux-gnueabihf-gcc linker (arm-linux-gnueabihf-ldd) supports shared libraries... no
    checking dynamic linker characteristics... GNU/Linux ld.so
    checking how to hardcode library paths into programs... unsupported
    checking whether stripping libraries is possible... yes
    checking if libtool supports shared libraries... no

    and make terminated with the following error.

    cp: can't stat `.libs/libiconv.so' : no such file or directory

    Before configure, I executed

    source linux-devkit/environment-setup and source setup-env, then

    ./configure --host=arm-arago-linux-gnueabi --prefix=${MY_PREFIX} --sysconfdir=${MY_SYSCONFDIR} --localstatedir=${MY_LOCALSTATEDIR}
    

    I think the problem is "configure" recognize the environment as "NOT SUPPORT shared library".

    Are there any solution to recognize as "shared library supported" environment ?

    Regards,

    Tommy