Qt 蓝牙部分翻译
2016-08-21 13:51
459 查看
这是我第一次尝试翻译技术文档,自己英语太烂,一直不敢尝试,感谢生活,让我勇敢迈出这第一步。
大部分都是直译,如有不妥,还请制导。
Qt Bluetooth
The Bluetooth API provides connectivity between Bluetooth enabled devices.这个蓝牙API为蓝牙设备之间提供连接。
Currently, the API is supported on the following platforms: Android, iOS, Linux (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 asscanning 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 .profile:
在C++程序中使用蓝牙模块开发应用程序的时候,需要在配置文件pro中添加以下配置项
QT += bluetooth
To use the classes of the module in your application you need the following import statement in your
.qmlfile:
在QML开发中,需要在QML文件中导入以下语句:
import QtBluetooth 5.2
相关文章推荐
- Qt 应用程序的部署
- QT 中文显示乱码问题
- Qt4 串口第一次打开问题
- QT_SVG格式图片浏览器_源代码下载_详细注释
- qt 文字编码问题 防止乱码
- Qt5.7.0 日志输出文件之debug重定向
- Qt之QComboBox定制(二)
- QT仪器通信库——串口(SerialPort)的DLL封装
- QT设置图标
- Qt图形框架资料01
- Qt5_简易画板_详细注释
- pyqt4文档阅读(4):QPushButton
- Qt 5 中 winId 转 HWND
- PyQt5学习
- qt platform plugin 'windows'
- Qt5 发布程序
- Qt 基本数据类型转换(int,float,double,datetime,string)
- qt 编辑风格
- pyqt4文档阅读(3):QLCDNumber
- 初次使用Qt Creater网络编程,出现error: undefined reference to `_imp__WSAStartup@8