Bluetooth Framework
ContentsIndexHome
PreviousUpNext
wclBluetoothErrors.pas

Wireless Communication Library 7 

Copyright (C) 2006-2019 Mike Petrichenko Soft Service Company All Rights Reserved 

http://www.btframework.com 

support@btframework.com shop@btframework.com 

 

------------------------------------------------------------------------

 

WCL Bluetooth Framwork: Error codes and exceptions.

 
Name 
Description 
 
The base exception class for all Bluetooth exceptions.  
 
The Bluetooth clients exceptions.  
 
The Bluetooth LE beacon exception.  
 
The Bluetooth server exceptions.  
 
The Bluetooth GATT client exceptions.  
Name 
Description 
Access denied.  
A device has already been paired.  
Unable to initialize a Bluetooth API (driver) subsystem.  
A Bluetooth API (driver) was not found in this system.  
A Bluetooth driver was not initialized.  
A Bluetooth API (driver) was not loaded.  
Authentication (pairng) with a remote Bluetooth device is failed.  
The base code for the Bluetooth errors.  
Bluetooth Radio driver is not ready.  
Operation has been cancelled by user.  
Can not assign PSM.  
The port/channel number requested is in use.  
A client is already connected to a Bluetooth device.  
A client is not connected to a Bluetooth device.  
Unable to connect COM port.  
Unable to start connection to a remote device. PSM error.  
Connection failure.  
Connection has been terminated by a user.  
Create Bluetooth Adapter interface failed.  
Create Bluetooth Adapter Statics interface failed.  
Unable create Bluetooth Device interface.  
Unable create Bluetooth Device Statics interface.  
Unable to create registry changes monitoring thread initialization event.  
Unable to create registry changes monitoring thread termination event.  
Create registry changes notification event failed.  
Unable to destroy COM port.  
A specified remote Bluetooth device was not found.  
The specified remote device is not paired.  
Unable to disconnect COM port.  
Unable to disconnect from SDP server.  
Inquiry processing failure.  
Discovering is not running.  
Discovering is already running.  
Discovering has been terminated.  
A Bluetooth driver is not available or not loaded.  
Unable to open or create authentication agent registry key.  
The requisted feature is not supported bu a Bluetooth driver.  
Unable get Win RT async operation result.  
Access to Bluetooth Radio driver instance has been failed.  
Unable to read asynchronous reading BLE device name operation result.  
Unable to read asynchronous reading device type operation result.  
Failed to get Bluetooth Device ID.  
Failed to read Bluetooth Device properties.  
Unable to get Radio State changing operation result code.  
Unable to get RSSI reading operation result code.  
Unable to read local Radio information.  
A Bluetooth hardware is not available.  
Incompatible OS. This feature required to run x64 application on x64 platform and/or x86 application on x86 platform.  
Wrong device type used in connection.  
The L2CAP channel disconnected by remote peer.  
The Bluetooth LE advertising is not running.  
The Bluetooth LE advertising is already running.  
Unable to set Bluetooth LE advertiser name.  
Failed to start Bluetooth LE Advertising.  
Unable create initialization event for the Bluetooth LE advertising thread.  
Unable create termination event for the Bluetooth LE advertising thread.  
Unable start Bluetooth LE Advertising thread.  
A device has already been paired.  
The GATT connection is already subscribed for this attribute changes notifications.  
Error during executing asynchronous pairing with Bluetooth LE device.  
Failed to start asynchronous pairing with Bluetooth LE device.  
Attribute was not found.  
The attribute cannot be read or written using the Read Blob Request.  
Your application does not have the appropriate permissions level to pair the device object.  
The device object rejected the connection.  
An unknown failure occurred.  
Authentication failed, so the device is not paired. Either the device object or the application rejected the authentication.  
The device object indicated there was a hardware failure.  
The ceremony data was incorrect.  
There are no network profiles for this device object to use.  
The authentication protocol is not supported, so the device is not paired.  
The device object is not currently paired.  
The device object is not in a state where it can be paired.  
The device object is already attempting to pair or unpair.  
The pairing action was canceled before completion.  
The minimum level of protection is not supported by the device object or the application.  
The application handler rejected the pairing.  
The remove device already has an association.  
Either the event handler was not registered or a required pairing method was not supported.  
The authentication process timed out before it could complete.  
The device object indicated it cannot accept any more incoming connections.  
The base error code for Bluetooth Low Energy.  
Bluetooth Beacons monitoring is not running.  
Bluetooth Beacons monitoring is running.  
The characteristic value is not readable as dictated by the characteristic properties.  
The characteristic value is not writable as dictated by the characteristic properties.  
The target server did not provide an appropriate network response.  
Connect failed.  
Unable create Bluetooth LE Device interface.  
Unable create Bluetooth LE Device Statics interface.  
Unable create IBluetoothLEDevice2 interface.  
Unable to create Bluetooth LE Advertisement Watcher.  
Attemp to connect to not previously discovered Bluetooth LE GATT device. Device object was not found by the system.  
A specified remote Bluetooth LE device was not found.  
The Bluetooth LE devices scanning is not running.  
The Bluetooth LE devices scanning is already running.  
Invalid Eddystone URL Beacon URL scheme. An URL must start with "http://" or "https://".  
The Eddystone URL Beacon URL is too long.  
The URL passsed to the Eddytone URL Beacon is empty or too short. The length of the URL must be at least 8 characters.  
The requisted feature is not supported bu a Bluetooth LE driver.  
Unable get Win RT async operation result.  
Failed to get Bluetooth LE Device ID.  
Unable to get IDeviceInformationCustomPairing interface.  
Unable to get IDeviceInformation interface.  
Unable to get IDeviceInformationPairing interface.  
Unable to get IDeviceInformationPairing2 interface.  
Unable to get IDeviceInformation2 interface.  
Failed to read Bluetooth LE Device properties.  
Unable to get BLE RSSI reading operation result code.  
A buffer is specified, but the buffer count size is smaller than what is required, in bytes.  
The current data in the cache appears to be inconsistent, and is leading to internal errors.  
Insufficient authentication.  
Insufficient authorization.  
Insufficient encryption.  
Insufficient encryption key size.  
Insufficient resources.  
Invalid attribute value length.  
Invalid attribute handle.  
Invalid offset.  
Invalid request format.  
The OS does not support automatic connection to BLE device and manual pairing is required.  
The GATT connection has not been subscribed for this attribute changes notifications.  
Out of range.  
Prepare queue is full.  
Requested procedure is already in progress.  
Attribute reading is not permited.  
The reliable write has already been started.  
The reliable write has not been started.  
Request not supported.  
Unable set Win RT asynchronous operation event handler.  
Unable to set Win RT object's event handler.  
Failed to change protection level.  
Unable to change Bluetooth LE Advertisement Watcher scanning mode.  
SMP failed.  
Unable start Win RT asyncronous operation.  
Unable to start BLE RSSI measurement thread.  
Unable start Bluetooth LE Advertisement Watcher.  
Unable to start Win RT working thread.  
Task cancel.  
Response timed out.  
Unable to add Bluetooth LE Advertisement data.  
Unable to get Bluetooth LE Advertiser object.  
Unable access the Bluetooth LE Advertiser data.  
Unable access the Bluetooth LE Advertiser Manufacturer data.  
Unable to read RSSI value.  
Unable to set Bluetooth LE Advertisement data.  
Unable to start Bluetooth LE device unpairing thread.  
Bluetooth LE features are unsupported by the hardware. Bluetooth LE features requires Bluetooth 4.0 or newest Bluetooth hardware with HCI version 6 and above.  
Unsupported group type.  
Attribute writing is not permitted.  
CCC improperly configured.  
Error other than time-out at L2CAP or Bluetooth radio level.
Usualy this error appears if you try to connect to device that is paired on PC side but PC is not paired or has been unpaired on the device side. Unpairing device on PC side usually solves the error.
 
Local service is still active.  
A Bluetooth Manager is closed.  
An other instance of the Bluetooth Manager is already opened.  
Unable to opend the Bluetooth Manager.  
A Bluetooth Manager is opened.  
The limit of connection number is reached.  
No system resources.  
An object with the specified attribute exists.  
The specified object is accessed by other process. It can not be removed or modified.  
The request can not be processed since a same request is being processed.  
The operation fails for an undefined reason.  
Device has been paired by other application.  
Pairing operationis executing.  
Asynchronous processing is pending.  
A Bluetooth Radio object is closed.  
The same Bluetooth Radio instance has already been initialized.  
Unable to initialize a Bluetooth Radio instance mutex.  
A Bluetooth Radio object is opened.  
The Bluetooth Radio object has been removed (destroyed).  
The Bluetooth Radio object become unavailable.  
Abnormal data received.  
Remote name acquisition processing failure.  
Unable to registry authentication callback.  
Operation has been rejected.  
The RFCOMM channel disconnected by remote peer.  
The RFCOMM received DM response.  
The RFCOMM multiplexor (session) disconnected by remote peer.  
Error working with SDP records.  
SDP record parsing error.  
SDP transaction processing failure.  
No service record with the specified search pattern is found on the remote device.  
The Bluetooth port/channel or device address not valid.  
Unable set Win RT asynchronous operation event handler.  
Unable to change local radio information.  
Unable to setup the communication port.  
Unable start Win RT asyncronous operation.  
Unable to start asynchronous name reading of a remote Bluetooth LE device.  
Unable to start WinRT asynchronous operation thread to get Bluetooth device type.  
Failed to start registry changes monitoring thread.  
Unable to start RSSI measurement thread.  
Operation time out.  
Unable to add new SDP record.  
Unable to change Radio connectable state.  
Unable to change Radio discoverable state.  
Unable to change Radio name.  
Unable to change pairing mode.  
Unable to change Bluetooth Radio state.  
Unable to connect to a remote device.  
Unable to create connect notification connection event.  
Unable to create disconnect notification event.  
Unable to create socket event.  
Unable to create BlueSoleil initialization event.  
Unable to create Bluetooth server.  
Unable to create a Bluetooth socket.  
Unable to create synchronization event.  
Unable to create Toshiba notifications window.  
Unable to enumerate local running services.  
Unable to get a read buffer size.  
Unable to get a write buffer size.  
Unable to create system event object for overlapped IO.  
Unable to aquire the connections mutex object.  
Unable to aquire the SDP mutex object.  
Unable to open the client COM port for the Bluetooth connection.  
Unable to open the server COM port for the Bluetooth connection.  
Starting Win RT radio state changing thread failed.  
Unable to read RSSI value.  
Unable to register COM port notifications.  
Unable to register Toshiba notification message.  
Unable to set client authentication and/or encription states.  
Unable to select socket events.  
Unable to set a read buffer size.  
Unable to set registry changes notification indication.  
Unable to set server authentication and/or encription states.  
Unable to set a write buffer size.  
Unable to start connection thread.  
Unable to start BlueSoleil initialization thread.  
Unable to start listening thread.  
Unable to start pairing with a remote Bluetooth device.  
Unable start SDP connection thread.  
Unable to start Toshiba main thread.  
Unable to stop local predefined server.  
Unable to disable Bluetooth Authentication Agent.  
Unablet o get connected state of the device.  
Unable to resolve connected remote device address.  
Unable to turn Bluetooth ON or OFF.  
Unable to update local server database.  
Unexpected or unknown Bluetooth error.  
A virtual COM port was already created for this Bluetooth device and service.  
The vitual COM port was not found. Probably it was not created by this Bluetooth radio object.  
Sending data to a remote device was failed.  
A Bluetooth driver has been found but it does not support all the features that WCL requires for correct work. You should update your Bluetooth driver for the latest available version.  
Copyright (c) 2006-2019. All rights reserved.