UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Bluetooth in Citroen C4

    Scheduled Pinned Locked Moved Support
    bluetoothbq 4.5
    9 Posts 2 Posters 2.9k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
      Reply
      • Reply as topic
      Log in to reply
      This topic has been deleted. Only users with topic management privileges can see it.
      • C Offline
        Cesar Herrera
        last edited by NeoTheThird

        I'd like to know if the problem of connetion will be studied. In E4.5

        1 Reply Last reply Reply Quote 0
        • C Offline
          Cesar Herrera
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • E Offline
            ernest
            last edited by

            For some bluetooth headset it's working only in terminal the configuration (bug not only on Utouch but the bluetooth package )

            $bluetoothctl
            [bluetooth]# power on
            Changing power on succeeded
            [bluetooth]# discoverable on
            Changing discoverable on succeeded
            [bluetooth]# pairable on
            Changing pairable on succeeded
            [bluetooth]# agent NoInputNoOutput
            Agent registered
            [bluetooth]# default-agent
            Default agent request successful

            scan on
            pair C9:50:76:A2:XX:XX
            connect C9:50:76:A2:XX:XX
            trust C9:50:76:A2:XX:XX

            If succesful it should connect automatically

            1 Reply Last reply Reply Quote 0
            • C Offline
              Cesar Herrera
              last edited by

              It looks fine. But when I put pair XX:....... the car says it's not compatible. I have a previous connection that I would like to delete but I don't know how. Thanks
              Cesar

              1 Reply Last reply Reply Quote 0
              • E Offline
                ernest
                last edited by ernest

                after bluetoothctl, lunch the help menu.

                [bluetooth]# help
                Available commands:
                list List available controllers
                show [ctrl] Controller information
                select <ctrl> Select default controller
                devices List available devices
                paired-devices List paired devices
                power <on/off> Set controller power
                pairable <on/off> Set controller pairable mode
                discoverable <on/off> Set controller discoverable mode
                agent <on/off/capability> Enable/disable agent with given capability
                default-agent Set agent as the default one
                set-scan-filter-uuids [uuid1 uuid2 ...] Set scan filter uuids
                set-scan-filter-rssi [rssi] Set scan filter rssi, and clears pathloss
                set-scan-filter-pathloss [pathloss] Set scan filter pathloss, and clears rssi
                set-scan-filter-transport [transport] Set scan filter transport
                set-scan-filter-clear Clears discovery filter.
                scan <on/off> Scan for devices
                info [dev] Device information
                pair [dev] Pair with device
                trust [dev] Trust device
                untrust [dev] Untrust device
                block [dev] Block device
                unblock [dev] Unblock device
                remove <dev> Remove device
                connect <dev> Connect device
                disconnect [dev] Disconnect device
                list-attributes [dev] List attributes
                select-attribute <attribute> Select attribute
                attribute-info [attribute] Select attribute
                read Read attribute value
                write <data=[xx xx ...]> Write attribute value
                notify <on/off> Notify attribute value
                register-profile <UUID ...> Register profile to connect
                unregister-profile Unregister profile
                version Display version
                quit Quit program

                you should do something like

                • paired-devices

                • remove xx:XX:XX:XX:

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  Cesar Herrera
                  last edited by Cesar Herrera

                  On the terminal with localhost and su I make the commands:
                  bluetoothctl
                  power on (if it is off it gives an error. But putting on grafically it puts no error)
                  discoverable on
                  pairable on
                  agent NoInputNoOutput
                  default-agent
                  scan on
                  trust C9:.... (I prefer putting this the first one)
                  pair C9:... IT GIVES AN ERROR:
                  Failed to pair: org.bluez.Error.AuthenticationFailed
                  I don’t know why. In other tryes the car says it doesn’t pair to this type of phone.
                  PD: Whith the command: remove C9:.... I was able to delete the previous pair.
                  Thanks,
                  Cesar

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    Cesar Herrera @ernest
                    last edited by

                    @ernest alt text

                    1 Reply Last reply Reply Quote 0
                    • E Offline
                      ernest
                      last edited by ernest

                      Maybe it's the type of agent/profile you have to change to satisfy the c4
                      I would suggest this order
                      Pair
                      Connect
                      Trust

                      E 1 Reply Last reply Reply Quote 0
                      • E Offline
                        ernest @ernest
                        last edited by

                        Cesar,

                        Now that you're able to get an error msg I strongly suggest to look on google : https://encrypted.google.com/search?hl=en&q=Failed to pair%3A org.bluez.Error.AuthenticationFailed

                        You're problem might be linked to a driver bug, but i doubt is linked to ubuntu touch itself, even ubuntu.
                        Good luck

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post