Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1448

QBluetoothServiceDiscoveryAgent returns errors for when it should not on Symbian

    XMLWordPrintable

Details

    • ab51692c535286b31e5343010d248c297dabc40d

    Description

      This is an new addition required to fix the QBluetoothServiceDiscoveryAgent unit test.

      QBluetoothServiceDiscoveryAgent returns errors for any error that occurs during service discovery. This can be misleading. When doing a scan and discovering services on all contactable devices they may not respond to SDP, or maybe travel out of range before SDP can be performed. Errors in this case can be safely ignored since they don't affect the user.

      On the other hand, if QBluetoothServiceDiscoveryAgent(QBluetoothAddress) is used, service discovery is done on a single device and errors are important and should be returned and emitted.

      QBluetoothServiceDiscoveryAgentPrivate::singleDevice provides a bool to be able to provide this error handling, it is currently not being used.

      Attachments

        Activity

          People

            haxu Hai Xu
            stanleyj Andrew Stanley-Jones (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: