Make it more obvious that QLowEnergy* classes are Tech preview

Although no larger changes are expected the QLowEnergy* classes only
provide a limited API commitment.

Change-Id: I244403b8818c2b34a97c8d6f2633e4b94646e49b
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Add \since to all Qt Bluetooth classes which didn't have the tag yet

Change-Id: I50d818294cb53962bca2b08edbfdc4558890777c
Task-number: QTBUG-36775
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Add \since tag to NFC classes which didn't have the tag yet

Internal or not yet released classes have been skipped

Change-Id: I5bc3e08f87348ae8df61b923d7cdb81186ebebc8
Task-number: QTBUG-36775
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Fix pingpong example

1.) ElidedMiddle makes the text disappear on Debian and Ubuntu. Swapping
elide mode to wrap mode which serves the same purpose

2.) The server was started as rfcomm channel but the client used L2Cap
protocol. It may have worked anyway because rfcomm is based on l2cap.
In any case this shouldn't be relied upon especially since some
platforms don't support l2cap sockets as part of the public API offering.
This way the example becomes more widely usable.

Change-Id: Ibbcd7029d5843e86af0313037b6433017eb92c76
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Don't permit write of non-existing or empty data via socket

Change-Id: Ic8387dd411a9784b6163a15d423cdeaa5e63ea30
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
QtBluetooth : pingpong example on OS X

Re-order some declarations to make the example work on OS X.

Change-Id: I9e74ce7b19a3d749f6ba0f951c1ce013f42729f7
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix tr()-context in src/bluetooth/qbluetoothservicediscoveryagent_qnx.

Change-Id: I161cac536d261c517a8323777561f8380b7d4bfb
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Update image for NFC poster example

Change-Id: I9dfff5fbbb8ce939de37fcf1b4f03fd7569b9203
Task-number: QTBUG-36496
Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
Extend docs on Minimal SDP discovery

Change-Id: If1add78a34f4d01313e022bd7af1d53ac2abd535
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
New QML based Bt chat client

Change-Id: I235c54591dbbf04aa58c024093beca8c068b4aed
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Provide example documentation for new chat example.

Change-Id: I073b0b4432d7e51516584aa1d23c681bb8544392
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Android: Fix broken QBluetoothServer::isListening

The function didn't return true right after calling listen(). This
is caused by the fakeserverport implementation. On Android listen()
doesn't really initiate the listen until
QBluetoothServiceInfo::registerService() was called. We need to check
the fakeServerPort registration to check whether we are listening
already.

[ChangeLog][QtBluetooth][Android] Fixed broken
QBluetoothServer::isListening(). It returned false right after a
successful call to listen().

Change-Id: I24de02602b401ecbbedaafd19d824170a181e03f
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix QBluetoothServiceInfo uni test on platforms using fake server ports

Those platforms require a running QBluetoothServer to satisfy the
prerequisites of calling QBluetoothServiceInfo::registerService().
This requirement is imposed by the public API contract anyway.

Change-Id: I2498030fa2787df9745580cd744886693945fe4f
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Remove nfctestserver test application

It is realted to nfc socket streaming which we don't support at this
stage.

Change-Id: Idae80decad7aa2cdf7eb67b82ddc3e20384df8b8
Reviewed-by: Martin Leutelt <martin.leutelt@basyskom.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Add new QML Chat example to Bluetooth module example list

The change makes a few minor cosmetic changes (e.g. sorting by
alphabet and better descriptions) to the overview page too.

Change-Id: I20c6e4735dd531b457fdf52b59f00e8a285a7397
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Improve QML Chat example UI

This makes the example more compliant with general UI color guidelines
and cuts out unnecessary code.

Change-Id: I1cf7df602e586a667ebd052ed45baef8eafb6955
Reviewed-by: Sami Makkonen <sami.makkonen@digia.com>
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Doc: Applied title case to section1 titles

Change-Id: I4bf466a3f6c34b338f741ec003343b572e73d738
Task-number: QTBUG-41250
Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
Reviewed-by: Martin Smith <martin.smith@digia.com>
Improve QBluetoothSocket::close() documentation

The disconnected() and stateChanged() signals are delayed which
may easily overlooked by API users. This change specifically points out
this behavior difference.

Change-Id: I3a9e9c656da50c9efe455cd2dbf903a2849e36da
Task-number: QTBUG-41770
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
QBluetoothTransferReply - fix a memory leak.

Fix a potential memory leak in _bluez and _qnx versions of copyToTempFile.

Change-Id: I4c21d25b88620747adaaea8f2da561ca0b3d5df6
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Fix QBluetoothSocket::isReadable()/isOpen()/isWritable()

Change-Id: Ifd6b5ed8176aa7959ed8da0edc762266aa2bd6fa
Task-number: QTBUG-32704
Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>