RU | EN


Bluetooth chat

The example implements interaction with the bluezQt library, which is a Qt wrapper for the BlueZ 5 DBus API.

The example demonstrates the following functionality:

  • creating your own connection profile
  • implementing Bluetooth chat based on your own connection profile.
  • launching Gatt server
  • sending files using obex protocol
  • scanning nearby devices.

Now the project contains already downloaded sources bluez-qt with superimposed patches from the rpm folder.

Build status:

  1. example - pipeline status
  2. dev - pipeline status

Table of Contents

  1. Table of Contents
  2. Compatibility
  3. Features of use and build
  4. Branch info
  5. Install and Run
  6. Screenshots
  7. Project Structure
  8. Terms of Use and Participation in Development

Compatibility

The project is compatible with all current versions of Aurora OS, older than version 5.1.

Features of use and build

This example being built using the Aurora SDK: Documentation

Branch info

Branches

Install and Run

The project being built in the usual way using the Aurora SDK: Documentation.

Screenshots

screenshot1 screenshot2 screenshot3

Project Structure

The project has a common structure of an application based on C++ and QML for Aurora OS.

  • ru.auroraos.BluetoothChat.pro file describes the project structure for the qmake build system.
  • icons directory contains application icons for different screen resolutions.
  • qml directory contains the QML source code and the UI resources.
    • cover directory contains the application cover implementations.
    • icons directory contains the custom UI icons.
    • pages directory contains the application pages.
    • components directory contains the custom UI components.
    • BluetoothChat.qml file provides the application window implementation.
  • rpm directory contains the rpm-package build settings. ru.auroraos.BluetoothChat.spec file is used by rpmbuild tool.
  • src directory contains the C++ source code.
    • main.cpp file is the application entry point.
  • translations directory contains the UI translation files.
  • ru.auroraos.BluetoothChat.desktop file defines the display and parameters for launching the application.

Terms of Use and Participation in Development

The source code of the project is provided under the license, which allows its use in third-party applications.

Contributor License Agreement The contributor agreement documents the rights granted by contributors of the Open Mobile Platform.

Information about the contributors is specified in the AUTHORS file.

Code of conduct is a current set of rules of the Open Mobile Platform which informs you how we expect the members of the community will interact while contributing and communicating.