Point sync.profile dependencies to an empty string

This means we are going to use the same branch name for the
dependencies as the branch of the repository under test.

Change-Id: Ia55676fff91d2ee9ab5e4dcd7f981d48527e675c
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Set proper API version for NFC and Bluetooth API.

In addition we update gitignore to suppress example binaries.

Change-Id: I3d5755d7ae9f45d5d51858a16edc9c8dbead974e
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Improve/Fix QtNFC documentation

Fix qdoc warnings, snippet imports and proper documentation versioning

Change-Id: Id1799ec67bf0fe6fe44c16b1ca314d8db8892bb1
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Fix qmake warnings about incorrect header includes in public headers.

Change-Id: I4b6ff895a021665b18b007c8bd8a7059cbba3ab1
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix QtBluetooth documentation

Task-number: QTBUG-31913
Change-Id: Ia466c40801994f402b7d6a739d5d43df145c432d
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
Update Copyright headers

- Update Digia's copyright year
- Add copyright to files without it
- Convert old BSD to new LGPL license for auto test code

Change-Id: I47f5c871c436f9c2731b235026434448719cc671
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Fix parsing of QNdefMessage::fromByteArray()

Multiple NdefRecords were parsed incorrectly because the to-be-added
record was never reset when reading the next entry.

The added unit test fails without the fix.

Task-number: QTBUG-31950
Change-Id: I2f1335b7e2d43000f55dc429524c5b8b87f868d2
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
Remove not needed symbol 'qHash(const QNdefRecord&)'

Task-number: QTBUG-31951
Change-Id: If3d8c9dd5a848c2b0b60b533921a4933a63c4c92
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
Fix namespace used by qbluetooth.cpp

Change-Id: I84d598b638ba6a4511863d3659e6540916e2dffe
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Enable Qt NFC in the CI system.

Don't require CONFIG+=nfc to build QtNfc lib.
This prevents proper test execution and there is no API commitment until
the API is offcially released anyway.

Excludes three auto tests from -developer-build builds
as they require Q_AUTOTEST_EXPORT.

Fixes compile errors associated to namespace'd builds of Qt.

Revert "Remove not needed symbol 'qHash(const QNdefRecord&)'"
The symbol is needed during compilation by Windows.
This reverts commit 39901af48f40f0672731a1f62dc003c4b37d1fec.

Change-Id: I61c644bbfc4906729e6d2b9deb741989030c8624
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Fix links to general qtdoc related pages for NFC and Bluetooth

Task-number: QTBUG-31913

Change-Id: Icdfb5a98cae840b1e5de5690d9081e9b986f615a
Reviewed-by: Martin Smith <martin.smith@digia.com>
Remove workaround for improper namespace macro parsing by qdoc

Task-number: QTBUG-31851
Change-Id: I35a9ca7f83e82a41ede1a5ca6b0129248330926e
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
QNX: Fix crash when setting host mode

Change-Id: I772375768b2d7d0fd766798bb3c5bd767f66abab
Reviewed-by: Alex <alexander.blasche@digia.com>
QNX: Add name to SPP profile

Change-Id: I88e1026597bdf94e2b723cf15e9354f231ae5bdf
Reviewed-by: Alex <alexander.blasche@digia.com>
Export qHash(QNdefRecord)

The symbol is used by the library itself. We may as well export it
for wider use.

The patch adds qHash usage to the unit tests to confirm the export of
the function and to ensure catch changes of the hashing algorithm.

Task-number: QTBUG-31951
Change-Id: Ic6e6e2a0cf7ee5aa9f5bd6c91a8a6c31030c5848
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix test error in qnearfieldtagtype2 auto test due to race condition.

This assumes the use of the nfc emulator.

The block selector call in tests/auto/qnearfieldtagtype2/tst_qnearfieldtagtype2.cpp
line 221 fails as the execution of the sector selection requires multiple
event loop turns.

First it must loop to execute the second "SECTOR SELECT" packet
(Command Packet 2). This will set NfcTagType2::currentSector to the
new sector. The same packet will trigger a timer event in
QNearFieldTagType2::handleResponse.

During the second event loop run the above timer event will set
QNearFieldTagType2::d->m_currentSector to the new sector. This will
set the request ID for the sector select request to processed/finished.

While the above two events have to happen the tst starts waiting for the
completion of the sector selection request. The waiting period is merely
1 ms which is too short for the timer event to execute. Subsequently
the test returns with an incomplete sector select request.

Change-Id: I980e440b3431d2fb828e1753f5ef8ea622dd6d3a
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix QNearFieldTarget::AccessMethods flags to permit OR concatenation

Adds an UnknownAccess enum value for tag types not yet known by
the library/backend.

Task-number: QTBUG-26027
Change-Id: Ic7654c0906b22bbd5c71bafd3e90a924bf913e23
Reviewed-by: Stuart Burge <sburge@blackberry.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Fix broken QBluetoothLocalDevice::isValid() behavior

The Bluez and QNX backend always returned true. They should only
return true if the local device is truly available or if the
passed QBluetoothAddress is indeed one of the local bluetooth
devices.

The related unit test was extended to ensure common bahvior of
invalid QBluetoothLocalDevice instance on all platforms.

Task-number: QTBUG-32068
Change-Id: I40ab4db48dc82ba0d1c0bb5275e96a3ee812b01a
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Alex <alexander.blasche@digia.com>
Re-enable qnearfieldtagtype* auto test.

The tests don't crash on platforms I can test with. Retrigger CI on it to
validate crash.

Change-Id: Ieac67a891a946ca15c9e23be773f2371043230a6
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
QNX: Fix compilation with new NDK

Change-Id: I92aab2e183f676d09092fa4d387bdf1e28a66289
Reviewed-by: Peter Hartmann <phartmann@blackberry.com>
Reviewed-by: Wolfgang Bremer <wbremer@blackberry.com>
Reviewed-by: Alex <alexander.blasche@digia.com>