Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-3424

Duplicate entries in bluetooth settings

XMLWordPrintable

      When issuing multiple requests to bluetooth service, the bluetooth settings dialog starts duplicating entries.

      The issue should easily be reproduced doing the following:

      Export a phone's bluetooth address to a variable in the following way

       

      export btaddr=dev_01_23_45_67_89_0A

      Then run the following oneliner a couple of times:

       

       

      afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager pair "{'device': '$btaddr'}" && \
      afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager connect "{'device': '$btaddr'}" && \
      afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager disconnect "{'device': '$btaddr'}" && \
      afb-client-demo -H 'ws://localhost:30005/api?token=HELLO&uuid=magic' bluetooth-manager remove_device "{'device': '$btaddr'}"

      and after each run accept the pairing request on the phone.

       

        1. agl-service-bluetooth.log
          9 kB
        2. bluetooth.service.log
          0.9 kB
        3. dmesg.up2.txt
          67 kB
        4. duplicate_bluetooth_entries.jpg
          4.51 MB
        5. journal.up2.txt
          424 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            raquelm raquel medina
            edi.feschiyan Edi Feschiyan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: