Qt Bluetooth C++ Classes

장치 검색 및 연결과 같은 기본적인 Bluetooth 작업을 수행할 수 있습니다. 더 보기...

네임스페이스

QBluetooth

블루투스 관련 클래스 및 함수

클래스

QBluetoothAddress

블루투스 장치에 주소를 할당합니다.

QBluetoothDeviceDiscoveryAgent

주변의 블루투스 장치를 검색합니다.

QBluetoothDeviceInfo

블루투스 장치에 대한 정보를 저장합니다.

QBluetoothHostInfo

로컬 QBluetooth 장치의 세부 정보를 캡슐화합니다.

QBluetoothLocalDevice

로컬 Bluetooth 장치에 대한 액세스를 활성화합니다.

QBluetoothServer

RFCOMM 또는 L2cap 프로토콜을 사용하여 Bluetooth 장치와 통신합니다.

QBluetoothServiceDiscoveryAgent

블루투스 서비스를 쿼리할 수 있습니다.

QBluetoothServiceInfo

블루투스 서비스의 속성에 액세스할 수 있습니다.

QBluetoothServiceInfo::Alternative

블루투스 데이터 요소 대체의 속성을 저장합니다.

QBluetoothServiceInfo::Sequence

블루투스 데이터 요소 시퀀스의 속성을 저장합니다.

QBluetoothSocket

블루투스 서버를 실행하는 블루투스 장치에 연결할 수 있습니다.

QBluetoothUuid

각 블루투스 서비스에 대한 UUID 생성

QLowEnergyAdvertisingData

블루투스 저에너지 광고 중에 브로드캐스트할 데이터를 나타냅니다.

QLowEnergyAdvertisingParameters

블루투스 저에너지 광고에 사용되는 파라미터를 나타냅니다.

QLowEnergyAdvertisingParameters::AddressInfo

QLowEnergyAdvertisingParameters::AddressInfo는 화이트리스트의 요소를 정의합니다.

QLowEnergyCharacteristic

블루투스 저에너지 서비스 특성에 대한 정보를 저장합니다.

QLowEnergyCharacteristicData

GATT 서비스 데이터를 설정하는 데 사용

QLowEnergyConnectionParameters

블루투스 LE 연결의 매개변수 업데이트를 요청하거나 보고할 때 사용됩니다.

QLowEnergyController

Bluetooth 저에너지 장치에 대한 액세스

QLowEnergyDescriptor

Bluetooth 저에너지 설명자에 대한 정보를 저장합니다.

QLowEnergyDescriptorData

GATT 서비스 데이터 생성에 사용

QLowEnergyService

Bluetooth 저에너지 장치의 개별 서비스를 나타냅니다.

QLowEnergyServiceData

GATT 서비스 데이터를 설정하는 데 사용됩니다.

상세 설명

The Qt Bluetooth C++ API를 사용하면 애플리케이션에서 장치를 검색하고 보다 유연한 방식으로 연결하고 상호 작용할 수 있습니다.

애플리케이션에서 C++ 라이브러리를 사용하려면 .pro 파일에 다음 구성 옵션을 추가하세요:

QT += bluetooth

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.