Warning: This API should be considered in a technology preview state. It is under development and subject to change.
The Connectivity API provides a set of APIs for communicating with local devices.
This section describes the functionality of the Connectivity module that is expected to work in the technology preview and the functionality that is known not to work.
The APIs are under development and subject to change between the technology preview release and their official release with Qt Mobility 1.2.
Unfortunately there currently are no functional backends for real hardware. An emulator backend is available, however, which is used by both the unit tests and the Qt Simulator backend. To use the Qt Simulator backend a modified version of the Qt Simulator is required, which can be obtained from http://qt.gitorious.org/?????.
The Connectivity examples demonstrate how to use NFC functionality in your application.
What should work:
What is known NOT to work:
NFC LLCP socket based server | |
NFC LLCP socket | |
Filter for match NDEF messages | |
NFC NDEF message | |
NFC RTD-Text | |
NFC RTD-URI | |
NFC NDEF record | |
Access to notifications for NFC events | |
Interface for communicating with an NFC Tag Type 1 tag | |
Interface for communicating with an NFC Tag Type 2 tag | |
Interface for communicating with a target device |
The Bluetooth API is under development and subject to change between the tech preview and its official release with Qt Mobility 1.2. For the technology preview the only functional backend is bluez.
What should work:
You should be able to discover devices and services, open an Rfcomm socket, or accept an Rfcomm connection, and transfer a file to a device using Object Push Protocol.
Classes that shoudl work:
What is know NOT to work:
Data type for Bluetooth Data Element Alternative attributes | |
Contains functions and definitions related to Bluetooth | |
Bluetooth address | |
API for discovering nearby Bluetooth devices | |
Information about Bluetooth devices | |
Access to local Bluetooth devices | |
API for querying the services provided by a Bluetooth device | |
Information about services | |
Bluetooth socket | |
Allows the application to send data objects to other devices | |
Contains the data and headers for a request sent with QBluetoothTranferManager | |
Holds a request to be sent with QBluetoothTransferManager | |
Bluetooth UUID | |
L2CAP server | |
RFCOMM server | |
Data type for Bluetooth Data Element Sequence attributes |