Qt Mobility Reference Documentation

Connectivity API (technology preview)

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.

Technology Preview Functionality

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.

NFC

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:

  • NDEF record and message parsing
  • NDEF record and message creation
  • NDEF message notification
  • NFC Tag Type 1 tags are supported
    • NDEF reading
    • NDEF writing
    • Tag specific commands
    • Supports both static and dynamic memory models

What is known NOT to work:

  • Backends for real hardware i.e. Symbian, MeeGo
  • LLCP Sockets
  • Other common tag technologies
    • NFC Tag Type 2
    • NFC Tag Type 3
    • NFC Tag Type 4
    • Mifare

Main Classes

NFC Classes

QLlcpServer

NFC LLCP socket based server

QLlcpSocket

NFC LLCP socket

QNdefFilter

Filter for match NDEF messages

QNdefMessage

NFC NDEF message

QNdefNfcTextRecord

NFC RTD-Text

QNdefNfcUriRecord

NFC RTD-URI

QNdefRecord

NFC NDEF record

QNearFieldManager

Access to notifications for NFC events

QNearFieldTagType1

Interface for communicating with an NFC Tag Type 1 tag

QNearFieldTagType2

Interface for communicating with an NFC Tag Type 2 tag

QNearFieldTarget

Interface for communicating with a target device

Bluetooth

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:

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.