Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bluetooth [2018/06/27 14:58]
bluetooth [2023/08/16 00:04] (current)
rzr [A2DP]
Line 1: Line 1:
 +===== NEWS =====
  
 +  * http://rzr.online.fr/q/bluetooth# just noticed that @Lenovo gX70 's #BlueTooth disapeared from lsusb , was 0489:e00d #Foxconn...  any tracks
 +  * http://rzr.online.fr/q/bluetooth#  do @slaine_ @AshNazir manage to use #Bluetooth or #gsm #modem on @Lenovo #s103t on #GnuLinux  #Meego or other #os ?
 +
 +
 +===== DEVEL =====
 +
 +  * http://www.bluez.org/development/
 +  * http://people.csail.mit.edu/albert/bluez-intro/c404.html
 +  * http://en.wikipedia.org/wiki/BlueZ#BlueZ
 +  * http://fr.wikipedia.org/wiki/BlueZ
 +  * http://git.kernel.org/cgit/bluetooth/bluez.git/tree/
 +
 +===== USAGE =====
 +
 +  sudo bluetoothctl
 +  agent on
 +  default-agent
 +  scan on
 +  # (...)
 +  # [NEW] Device B8:27:FF:FF:FF:FF (...)
 +  scan off
 +  
 +==== A2DP ====
 +
 +  * https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1151
 +  * https://www.reddit.com/r/linuxquestions/comments/led200/bluetooth_headset_wont_connect_after_installing/
 +
 +  Aug 15 23:42:13 asu bluetoothd[11190]: src/service.c:btd_service_connect() a2dp-sink profile connect failed for C8:84:47:FE:E1:F0: Protocol not available
 +
 +  sudo apt install libspa-0.2-bluetooth 
 +
 +===== USAGE ( lenovo s103t ) =====
 +
 +seems not supported see :
 +
 +http://rzr.online.fr/q/atom
 +
 +http://pastebin.com/v2XfiX2S
 +
 +Mine disapeared ???
 +
 +<code>
 +Bus 003 Device 003: ID 10ab:0816 USI Co., Ltd
 +Couldn't open device, some information will be missing
 +Device Descriptor:
 +  bLength                18
 +  bDescriptorType         1
 +  bcdUSB               2.00
 +  bDeviceClass          224 Wireless
 +  bDeviceSubClass         1 Radio Frequency
 +  bDeviceProtocol         1 Bluetooth
 +  bMaxPacketSize0        64
 +  idVendor           0x10ab USI Co., Ltd
 +  idProduct          0x0816
 +  bcdDevice            4.71
 +  iManufacturer           1
 +  iProduct                2
 +  iSerial                 3
 +  bNumConfigurations      1
 +  Configuration Descriptor:
 +    bLength                 9
 +    bDescriptorType         2
 +    wTotalLength          216
 +    bNumInterfaces          4
 +    bConfigurationValue     1
 +    iConfiguration          0
 +    bmAttributes         0xe0
 +      Self Powered
 +      Remote Wakeup
 +    MaxPower                0mA
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        0
 +      bAlternateSetting       0
 +      bNumEndpoints           3
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x81  EP 1 IN
 +        bmAttributes            3
 +          Transfer Type            Interrupt
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0010  1x 16 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x82  EP 2 IN
 +        bmAttributes            2
 +          Transfer Type            Bulk
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0040  1x 64 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x02  EP 2 OUT
 +        bmAttributes            2
 +          Transfer Type            Bulk
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0040  1x 64 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        1
 +      bAlternateSetting       0
 +      bNumEndpoints           2
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x83  EP 3 IN
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0000  1x 0 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x03  EP 3 OUT
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0000  1x 0 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        1
 +      bAlternateSetting       1
 +      bNumEndpoints           2
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x83  EP 3 IN
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0009  1x 9 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x03  EP 3 OUT
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0009  1x 9 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        1
 +      bAlternateSetting       2
 +      bNumEndpoints           2
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x83  EP 3 IN
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0011  1x 17 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x03  EP 3 OUT
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0011  1x 17 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        1
 +      bAlternateSetting       3
 +      bNumEndpoints           2
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x83  EP 3 IN
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0020  1x 32 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x03  EP 3 OUT
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0020  1x 32 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        1
 +      bAlternateSetting       4
 +      bNumEndpoints           2
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x83  EP 3 IN
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0040  1x 64 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x03  EP 3 OUT
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0040  1x 64 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        1
 +      bAlternateSetting       5
 +      bNumEndpoints           2
 +      bInterfaceClass       224 Wireless
 +      bInterfaceSubClass      1 Radio Frequency
 +      bInterfaceProtocol      1 Bluetooth
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x83  EP 3 IN
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0040  1x 64 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x03  EP 3 OUT
 +        bmAttributes            1
 +          Transfer Type            Isochronous
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0040  1x 64 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        2
 +      bAlternateSetting       0
 +      bNumEndpoints           2
 +      bInterfaceClass       255 Vendor Specific Class
 +      bInterfaceSubClass    255 Vendor Specific Subclass
 +      bInterfaceProtocol    255 Vendor Specific Protocol
 +      iInterface              0
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x84  EP 4 IN
 +        bmAttributes            2
 +          Transfer Type            Bulk
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0020  1x 32 bytes
 +        bInterval               1
 +      Endpoint Descriptor:
 +        bLength                 7
 +        bDescriptorType         5
 +        bEndpointAddress     0x04  EP 4 OUT
 +        bmAttributes            2
 +          Transfer Type            Bulk
 +          Synch Type               None
 +          Usage Type               Data
 +        wMaxPacketSize     0x0020  1x 32 bytes
 +        bInterval               1
 +    Interface Descriptor:
 +      bLength                 9
 +      bDescriptorType         4
 +      bInterfaceNumber        3
 +      bAlternateSetting       0
 +      bNumEndpoints           0
 +      bInterfaceClass       254 Application Specific Interface
 +      bInterfaceSubClass      1 Device Firmware Update
 +      bInterfaceProtocol      1
 +      iInterface              0
 +      Device Firmware Upgrade Interface Descriptor:
 +        bLength                             7
 +        bDescriptorType                    33
 +        bmAttributes                        7
 +          Will Not Detach
 +          Manifestation Tolerant
 +          Upload Supported
 +          Download Supported
 +        wDetachTimeout                   5000 milliseconds
 +        wTransferSize                      64 bytes
 +</code>
 +
 +
 +===== USAGE ( lenovo g470 ) =====
 +
 +EdiT: BT working again, I had to reinstall Windows7 OeM Fn+F5 to raise panel to set it on (not it appear again is lsusb)
 +
 +  sudo apt-get install bluedevil
 +
 +  * http://wiki.debian.org/BluetoothUser
 +  * http://askubuntu.com/questions/235256/how-can-i-install-bluetooth-drivers-on-a-lenovo-g470
 +
 +<code>
 + dmesg  | grep -i blue
 +[    8.861271] Bluetooth: Core ver 2.16
 +[    8.861295] Bluetooth: HCI device and connection manager initialized
 +[    8.861301] Bluetooth: HCI socket layer initialized
 +[    8.861303] Bluetooth: L2CAP socket layer initialized
 +[    8.861308] Bluetooth: SCO socket layer initialized
 +[    8.868718] Bluetooth: RFCOMM TTY layer initialized
 +[    8.869775] Bluetooth: RFCOMM socket layer initialized
 +[    8.869775] Bluetooth: RFCOMM ver 1.11
 +[    8.931143] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
 +[    8.932321] Bluetooth: BNEP filters: protocol multicast
 +[    8.933373] Bluetooth: BNEP socket layer initialized
 +
 +
 +rfkill list
 +0: ideapad_wlan: Wireless LAN
 +        Soft blocked: no
 +        Hard blocked: no
 +1: ideapad_bluetooth: Bluetooth
 +        Soft blocked: yes
 +        Hard blocked: no
 +2: phy0: Wireless LAN
 +        Soft blocked: no
 +        Hard blocked: no
 +
 +
 +sudo lsmod | grep -e blue
 +bluetooth             144777  10 bnep,rfcomm
 +rfkill                 19012  6 cfg80211,ideapad_laptop,bluetooth
 +crc16                  12343  2 ext4,bluetooth
 +
 +
 +bluetooth-agent  1234
 +Can't get default adapter
 +No such adapter
 +
 +
 +hcitool dev
 +Devices:
 +
 +# nothing?
 +
 + lsusb  | grep -i bluetooth
 +
 +# nothing?
 +
 +# While it was detected as : "Bus 002 Device 003: ID 0489:e00d Foxconn / Hon Hai Broadcom Bluetooth 2.1 Device"
 +
 +</code>
 +
 +PleasE HelP me ... SoS ...
 +
 +  * http://tech.groups.yahoo.com/group/lenovo/message/55
 +  * http://forums.lenovo.com/t5/tag/bluetooth/tg-p/board-id/N_Series_Lenovo_3000
 +  * http://forums.lenovo.com/t5/Lenovo-3000-and-Essential/G470-not-detect-bluetooth/m-p/1019513/highlight/false#M41747
 +  * http://identi.ca/notice/100999645
 +  * https://bugs.launchpad.net/ubuntu/+source/linux/+bug/898826
 +
 +
 +===== REFERENCE =====
 +
 +Bluetooth is a ProtocoL for WireLess [[Devices]].
 +
 +bluetooth works under [[Symbian]] [[OS]] and [[j2me]]
 +
 +  * http://wiibrew.org/wiki/List_of_Working_Bluetooth_Devices
 +  * https://github.com/minimaxwell/docs/blob/master/bluetooth/meetup/bt_meetup.pdf# LinuX
 +
 +
 +===== ToDo ====
 +
 +  * http://forum.meego.com/showthread.php?p=31170#post31170 [[harmattan]]
 +  * http://www.dealextreme.com/c/bluetooth-irda-304?page=1&pagesize=200&pagesort=relevance# WisH
 +  * https://bugs.launchpad.net/ubuntu/+source/obexftp/+bug/447836
 +  * http://www.seguridadmobile.com/windows-mobile/windows-mobile-security/HTC-Windows-Mobile-OBEX-FTP-Service-Directory-Traversal.html
 +  * http://answers.microsoft.com/en-us/profile/9eb263cb-c78a-422d-b3a8-cff9845aaae1
 +  * http://answers.microsoft.com/en-us/windows/forum/windows_8-hardware/windows-8-bluetooth-problem-on-lenovo-g570-laptop/25b90628-0e82-4f4a-9bad-a941dffe7df3# LenovO
 +  * http://askubuntu.com/questions/256451/how-to-enable-bluetooth-using-lenovo-480g
 +
 +
 +==== privacy ====
 +
 +  * http://BlueToothTracking.org
 +
 +  * http://www.unixgarden.com/index.php/embarque/communication-de-donnees-et-d%E2%80%99images-issues-de-la-carte-fox-par-bluetooth
 +
 +
 +==== MISC ====
 +
 +  * [[SonyEricsson]] : http://stefans.datenbruch.de/k750i/#bluetooth
 +  * Rennes : http://www.bluemobile.fr/rennes-borne-multimedia-bluetooth.htm
 +
 +
 +===== SOFTWARE =====
 +
 +==== ANDROID ====
 +
 +  * https://github.com/Marlinski/Rumble/blob/master/app/src/main/java/org/disrupted/rumble/network/linklayer/bluetooth/BluetoothServer.java#L99
 +
 +  * http://www.galaxyinsider.com/why-you-need-bluetooth-low-energy-ble# BlE Android 4.3
 +==== JAVA ====
 +
 +There is an extra API for [[J2ME]] to support bt ( JSR82 )
 +
 +http://www.jcp.org/en/jsr/detail?id=82
 +
 +  * [[API]] : http://download.oracle.com/javame/config/cldc/opt-pkgs/api/bluetooth/jsr082/javax/obex/package-tree.html
 +
 +
 +I have downloaded an application which uses bluetooth and J2ME.
 +
 +The name of the application is BlueChat and the website where this application is available for download is http://www.benhui.net
 +
 +
 +My problems regards to this application are as follows:
 +
 +1. I want this application to get compiled in SUN WTK 2.0.
 +The web site gives instructions for running this application on SUN WTK 2.1 in windows platform but does not give any help on Linux platform
 +
 +2. The website which hosts this application gives 2 jar files one for MIDP 1.0 and the other one for MIDP 2.0 the website says that to download anyone of the jar files and then to paste it in the WTK21/lib/directory which will overwrite the old  midp jar file which comes with SUN WTK by default.
 +
 +Since i am using Linux for development i downloaded WTK 2.0 Linux version .
 +
 +i couldnt find a default midp.jar file so i did not know where to paste the new jar file which comes with this bluetooth application.
 +
 +This process is done to compile this application using SUN WTK which has no bluetooth support and then to run this application using Nokia Series 60 MIDP SDK 0.3 beta.
 +
 +3.In windows i followed the instructions given in the website and the application got compiled but the emulator did not startup due to some problems with the emulator but i did not have any problems with compilation .
 +
 +4. In Linux i am facing problems in compiling the application.
 +
 +I placed the jar file that comes with the application in the application's LIB directory when i did this i get one error .
 +
 +The error is
 +
 +            "Error Preverifying class com.sun.ksecurity.MD5"
 +            "Error:native methods should not appear"
 +             Build Failed
 +
 +This is what i get so i am unable to compile the application. So kindly help
 +
 +Thanks
 +
 +Regards
 +Balaji
 +
 +
 +{{http://frigo.vaboofer.com/bordel/MDR45.gif}}
 +
 +
 +===== HARDWARE =====
 +
 +  * https://together.jolla.com/question/6461/bluetooth-hardware-details/# Bluetooth 4.0 EDR HS
 +  * http://www.qualcomm.eu/uk/news/releases/2011/05/31/qualcomm-atheros-announces-highly-integrated-connectivity-solution-superior
 +  * https://chipworks.secure.force.com/catalog/ProductDetails?sku=QUA-WCN3660#
 +  * http://store.baladeo.com/en/mini-wireless-speaker-thunder-bay-black.html# EaN=3661190007575
 +  ** https://youtu.be/DXDDYx1iTsg# UnScrew
 +  * http://www.senanetworks.com/products/industrial_bluetooth/ud100.php# UsB
 +  * https://www.olimex.com/Products/USB-Modules/USB-BT4
 +  * https://www.skyrise.tech/blog/tag/bluetooth/# RaspberryPi
 +  * https://www.amazon.fr/dp/B08R1TL45R?ref=rzr-21# BT5
 +  * https://www.sparkfun.com/products/10573# UberTooth One
 +
 +
 +
 +===== MISC =====
 +
 +  * https://gitorious.org/qt-obex-ftp-client-library
 +  * http://forum.xda-developers.com/gear-2/general/guide-oct-29easiest-to-pair-install-t2921994/page5# BtLe LoW EnergY
 +  * https://github.com/Marlinski/Rumble/blob/master/app/src/main/java/org/disrupted/rumble/network/linklayer/bluetooth/BluetoothServer.java#L99
 +  * https://developer.bluetooth.org/TechnologyOverview/Pages/HOGP.aspx#
 +  * https://en.wikipedia.org/wiki/BlueBorne_(security_vulnerability)# SecuritY
 +  * https://www.npmjs.com/package/bleno# BlE
 +  * https://blog.attify.com/the-practical-guide-to-hacking-bluetooth-low-energy/# BlE
 +
 +
 +===== MORE =====
 +
 +@TaG: [[fail]] [[j2me]] [[bt]] [[kb]] [[mac]] [[midp]] WireLess OBeX [[J2ME]] [[Wireless]] [[Mobile]] [[bt]] [[b]] [[blue]] [[tooth]] PulseAudio
 +
 +<html>
 +<iframe width="560" height="315" src="http://www.youtube-nocookie.com/embed/Tp0LiStHMCw" frameborder="0" allowfullscreen></iframe>
 +</html>
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki