zoukankan      html  css  js  c++  java
  • Qt 蓝牙部分翻译

    这是我第一次尝试翻译技术文档,自己英语太烂,一直不敢尝试,感谢生活,让我勇敢迈出这第一步。

    大部分都是直译,如有不妥,还请制导。

    Qt Bluetooth

    The Bluetooth API provides connectivity between Bluetooth enabled devices.

    这个蓝牙API为蓝牙设备之间提供连接。

    Currently, the API is supported on the following platforms: AndroidiOSLinux (BlueZ 4.x/5.x) and OS X.

    目前,该API支持以下平台
     
    1. 安卓
     
    2. iOS
     
    3. Linux(BlueZ 4.X/5.X)
     
    4. OS X

    Overview

    Bluetooth is a short-range (less than 100 meters) wireless technology. It has a reasonably high data transfer rate of 2.1 Mbit/s, which makes it ideal for transferring data between devices. Bluetooth connectivity is based on basic device management, such as scanning for devices, gathering information about them, and exchanging data between them.

    蓝牙是一种短距离无线传输技术。它拥有很高的数据传输速率为:2.1Mbit/s,它非常适合设备之间的数据传输。蓝牙连接是基于基本设备管理,例如扫描设备,搜集信息和设备之间的数据传输。

    Qt Bluetooth supports Bluetooth Low Energy development for client/central role use cases. Further details can be found in the Bluetooth Low Energy Overview section.

    Qt的蓝牙技术支持低功耗开发,。。。。。更多细节可以看蓝牙低功耗概述部分

    A new addition in this Qt Bluetooth 5.7 release covers support for Bluetooth Low Energy applications performing the peripheral/server role. This new API is a Technology Preview.

    Qt在5.7发行版本中新增加了一些功能,支持低功耗设备的应用程序,服务器角色的开发,不过这个技术在5.7版本中数据预览版。

    Getting Started

    To use the C++ library in your application, add the following configuration option to your .pro file:

    在C++程序中使用蓝牙模块开发应用程序的时候,需要在配置文件pro中添加以下配置项

    QT += bluetooth

    To use the classes of the module in your application you need the following import statement in your .qml file:

    在QML开发中,需要在QML文件中导入以下语句:

    import QtBluetooth 5.2
    
    
  • 相关阅读:
    CentOS8下安装mysql8
    Git使用
    《操作系统导论》读书笔记
    《Linux命令行大全》读书笔记
    Centos8 开机后显示 Activate the web console with: systemctl enable --now cockpit.socke
    numpy学习笔记
    CentOS8使用阿里源
    Python 面向对象
    matplotlib解决不显示中文问题
    MySQL基础第三课
  • 原文地址:https://www.cnblogs.com/DreamDog/p/9160095.html
Copyright © 2011-2022 走看看