![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Namespaces | |
| namespace | enums |
Classes | |
| class | QOhosBluetoothAccessProxy |
| struct | DiscoveryResult |
| class | QOhosBluetoothDeviceDiscoveryAgentProxy |
| class | QOhosBluetoothLocalDeviceProxy |
| struct | RemoteDeviceServices |
| class | QOhosBluetoothRemoteDeviceProxy |
| class | QOhosBluetoothServerProxy |
| class | QOhosBluetoothSocketProxy |
| struct | QOhosBluetoothServerProxyContext |
Enumerations | |
| enum class | QOhosBluetoothErrorCode : std::uint32_t { PermissionDenied = 201 , InvalidParameter = 401 , CapabilityNotSupported = 801 , ServiceStopped = 2900001 , BluetoothDisabled = 2900003 , ProfileNotSupported = 2900004 , UserDidNotRespond = 2900013 , UserRefused = 2900014 , OperationFailed = 2900099 , InputOutput = 2901054 } |
Functions | |
| std::optional< QOhosBluetoothErrorCode > | tryGetKnownErrorCode (const QNapi::Value &errorValue, const char *callerContextName) |
| bool | checkAccessBluetoothPermissionGranted (const char *callerContextName) |
| std::optional< QtOhosBluetooth::enums::ohos::bluetooth::access::BluetoothState > | readBluetoothState (QOhosJsState &jsState) |
| bool | isBluetoothEnabled (QOhosJsState &jsState) |
| std::optional< std::string > | readRemoteDeviceName (QOhosJsState &jsState, const std::string &deviceId) |
| std::optional< quint32 > | readRemoteDeviceClass (QOhosJsState &jsState, const std::string &deviceId) |
| std::optional< QOhosBluetoothRemoteDeviceProxy::BluetoothTransport > | readRemoteDeviceTransport (QOhosJsState &jsState, const std::string &deviceId) |
| bool | isRemoteDeviceLowEnergyOnly (QOhosJsState &jsState, const std::string &deviceId) |
| std::shared_ptr< int > | makeSppClientSocketHandle (int socketDescriptor) |
| std::shared_ptr< int > | makeSppServerSocketHandle (int socketDescriptor) |
| std::shared_ptr< QOhosBluetoothServerProxyContext > | makeServerProxyContext (quint16 port) |
| std::shared_ptr< QOhosBluetoothServerProxyContext > | tryGetServerProxyContext (quint16 port) |
| bool | isServiceNameAlreadyRegistered (const QString &serviceName) |
Variables | |
| constexpr int | invalidSocketDescriptor = -1 |
|
strong |
| Enumerator | |
|---|---|
| PermissionDenied | |
| InvalidParameter | |
| CapabilityNotSupported | |
| ServiceStopped | |
| BluetoothDisabled | |
| ProfileNotSupported | |
| UserDidNotRespond | |
| UserRefused | |
| OperationFailed | |
| InputOutput | |
Definition at line 30 of file qohosbluetoothcommon_p.h.
| bool QtOhosBluetooth::checkAccessBluetoothPermissionGranted | ( | const char * | callerContextName | ) |
Definition at line 85 of file qohosbluetoothcommon.cpp.
| bool QtOhosBluetooth::isBluetoothEnabled | ( | QOhosJsState & | jsState | ) |
Definition at line 117 of file qohosbluetoothcommon.cpp.
| bool QtOhosBluetooth::isRemoteDeviceLowEnergyOnly | ( | QOhosJsState & | jsState, |
| const std::string & | deviceId ) |
Definition at line 128 of file qohosbluetoothremotedevice.cpp.
| bool QtOhosBluetooth::isServiceNameAlreadyRegistered | ( | const QString & | serviceName | ) |
Definition at line 72 of file qbluetoothserver_ohos_p.cpp.
| std::shared_ptr< QOhosBluetoothServerProxyContext > QtOhosBluetooth::makeServerProxyContext | ( | quint16 | port | ) |
Definition at line 44 of file qbluetoothserver_ohos_p.cpp.
| std::shared_ptr< int > QtOhosBluetooth::makeSppClientSocketHandle | ( | int | socketDescriptor | ) |
Definition at line 57 of file qohosbluetoothsocket.cpp.
| std::shared_ptr< int > QtOhosBluetooth::makeSppServerSocketHandle | ( | int | socketDescriptor | ) |
Definition at line 62 of file qohosbluetoothsocket.cpp.
| std::optional< QtOhosBluetooth::enums::ohos::bluetooth::access::BluetoothState > QtOhosBluetooth::readBluetoothState | ( | QOhosJsState & | jsState | ) |
Definition at line 99 of file qohosbluetoothcommon.cpp.
| std::optional< quint32 > QtOhosBluetooth::readRemoteDeviceClass | ( | QOhosJsState & | jsState, |
| const std::string & | deviceId ) |
Definition at line 95 of file qohosbluetoothremotedevice.cpp.
| std::optional< std::string > QtOhosBluetooth::readRemoteDeviceName | ( | QOhosJsState & | jsState, |
| const std::string & | deviceId ) |
Definition at line 80 of file qohosbluetoothremotedevice.cpp.
| std::optional< QOhosBluetoothRemoteDeviceProxy::BluetoothTransport > QtOhosBluetooth::readRemoteDeviceTransport | ( | QOhosJsState & | jsState, |
| const std::string & | deviceId ) |
Definition at line 111 of file qohosbluetoothremotedevice.cpp.
| std::optional< QOhosBluetoothErrorCode > QtOhosBluetooth::tryGetKnownErrorCode | ( | const QNapi::Value & | errorValue, |
| const char * | callerContextName ) |
Definition at line 55 of file qohosbluetoothcommon.cpp.
References BluetoothDisabled, CapabilityNotSupported, InputOutput, InvalidParameter, OperationFailed, PermissionDenied, ProfileNotSupported, ServiceStopped, UserDidNotRespond, and UserRefused.
| std::shared_ptr< QOhosBluetoothServerProxyContext > QtOhosBluetooth::tryGetServerProxyContext | ( | quint16 | port | ) |
Definition at line 63 of file qbluetoothserver_ohos_p.cpp.
|
constexpr |
Definition at line 36 of file qohosbluetoothsocket_p.h.