General
- What is the Wireless Communication Library (WCL)?
- The Wireless Communication Library is an SDK that lets you add Bluetooth, Serial, and Wi-Fi communication to Windows and macOS applications without writing the platform-specific plumbing yourself. It bundles the Bluetooth, Serial, and Wi-Fi frameworks under a common base library with a unified API and event model. See Wireless Communication Library.
- How is WCL different from the standalone frameworks?
- Each framework can be purchased and used on its own. WCL packages all three under a single license, which is cheaper than buying them separately and gives one support channel and one shared base library.
- What is included in WCL, and is WeDo part of it?
- WCL includes the Bluetooth Framework, the Serial Framework, and the Wi-Fi Framework. The WeDo Framework (LEGO WeDo 2.0) is a separate product and is not part of WCL.
- Do all frameworks share the same API style?
- Yes. All frameworks share the common base assemblies (
wclCommon,wclCommunication) and a consistent, event-driven API style, so the same patterns work across Bluetooth, Wi-Fi, and Serial. - Is there a free demo version?
- Yes. A free demo of each framework is available for download. The demo is for trial use only and cannot be used to build or distribute applications; remove it completely before installing the registered version.
- Is it a one-time purchase or a subscription?
- It is a one-time purchase. Every commercial license includes a free update period; after that period ends, an active update subscription is required to receive bug fixes and new versions. See Licensing and updates.
Platforms and requirements
- Which operating systems are supported?
- The Bluetooth Framework and the Wi-Fi Framework are Windows-only. The Serial Framework supports Windows and macOS. The WCL bundle therefore covers Windows and macOS (the macOS part is Serial). See Bluetooth, Wi-Fi, and Serial.
- Which .NET versions are supported?
- The .NET Edition targets .NET Framework, .NET Standard, .NET Core, and modern .NET. It can be used from WinForms, WPF, ASP.NET, .NET MAUI, service and console applications, Unity, and Python.
- Which Delphi, C++Builder, and Lazarus versions are supported?
- The VCL Edition supports Delphi 6 through 13 Florence, C++Builder 6, the RAD Studio line, and Lazarus 4.2 with FreePascal 3.2.2. Check the exact package for your compiler version.
- Which CPU architectures are supported?
- The C++ Edition ships for x86, x64, ARM, ARM64, and ARM64EC. The .NET Edition runs wherever the .NET runtime and framework assemblies are supported.
- Do I need administrator rights?
- The .NET and C++ editions need no installation. The VCL Edition requires copying BPL files into the IDE folders and installing design-time packages, which may need elevated rights. Some device-level operations may also require administrator privileges. See the installation guide.
- Which Bluetooth stacks are supported?
- The Bluetooth Framework works with the Microsoft Bluetooth stack, Toshiba, the BLED112 USB dongle, and systems with more than one Bluetooth radio. The BLED112 path bypasses the Microsoft stack entirely. See Bluetooth Framework.
Editions
- Which editions are available?
- Each framework is offered in .NET, C++, and VCL editions; Lazarus/LCL is covered by the VCL edition.
- What is the difference between the editions?
- The .NET Edition is native C#/.NET classes; the C++ Edition is a static C++ library for Microsoft Visual C++; the VCL Edition is a set of Delphi/C++Builder/Lazarus components. All editions expose the same functionality.
- Does the .NET Edition work with WinForms, WPF, ASP.NET, MAUI, and Python?
- Yes. The .NET Edition is designed for .NET Framework, .NET Standard, .NET Core, and .NET, and is used from WinForms, WPF, ASP.NET, .NET MAUI, service/console apps, Unity, and Python.
- Can I get the source code?
- Yes. Source code is included in the C++ and VCL editions and in the .NET Edition with source code license.
Licensing and updates
- Which license types exist?
- Individual, Single Developer (without source), Single Developer (with source), Build Server, and Site. See the license comparison.
- Which license do I need?
- The Individual license is for a natural person and non-commercial use only. Companies and commercial projects need the Single Developer or Site license. A standalone build server needs a Build Server license; the Site license covers unlimited developers and is often cheaper for teams larger than five. See Which license do I need?.
- Can I buy the frameworks separately or only as the WCL bundle?
- Both. Each framework can be purchased on its own, or all three together as the Wireless Communication Library bundle, which saves money.
- Do I need a separate license for a build server or CI?
- Yes. A separate, standalone build server requires a Build Server license (or a Site license).
- How is payment processed?
- Payments are processed by PayPro Global (Merchant of Record, all major payment methods) or by Contra (cards, cryptocurrency, and wire transfers). All processing fees are included in the displayed price. See the purchase section of the WCL page.
- Is there a student discount?
- Yes. Students can contact us for a discount.
- How do updates work?
- A purchase includes a free update period: 3 months for Individual, 6 months for Single Developer without source, 12 months with source, 6 months for Build Server, and 12 months for Site. After the period ends, bug fixes and new versions require an active update subscription; renewals receive a 10 to 30 percent discount depending on the license type. See the license comparison.
- Where can I read the full license terms?
- In the End-User License Agreement.
Installation
- How do I install the framework?
- Download an EXE installer or a 7Zip archive. The .NET and C++ editions require no special installation; the VCL edition needs a few IDE steps. Wireless Communication Library 8 requires no installation at all. See the installation guide.
- What is inside the package?
- Four folders: Demo (sample projects), Doc (offline documentation), Lib (compiled binaries), and Source (source code, in the C++ and VCL editions and the .NET edition with source).
- How do I add the library to my project?
- .NET: reference the DLLs from
Lib(or the GAC after installer). C++: addLibto the linker paths,Sourceto the include paths, and link the.libfiles. VCL: install the packages and add the library paths to the IDE. See the installation guide. - Do I need to remove the demo version first?
- Yes. Completely remove any demo version before installing the registered one; this matters most for .NET, where old assemblies linger in build folders.
- Does WCL 8 require installation?
- No. Wireless Communication Library 8 is distributed as an archive; unpack it and use it directly.
Unity
- Does Unity support Bluetooth, Wi-Fi, or serial natively?
- No. Unity has no built-in support for these transports, and the usual .NET options do not work reliably with IL2CPP. See Bluetooth and Unity, Wi-Fi and Unity, and Serial and Unity.
- Does WCL work with Mono and IL2CPP?
- Yes. All three frameworks fully support both the Mono and IL2CPP scripting backends, in the editor and in player builds. See WCL and Unity.
- Which platforms are supported in Unity?
- The frameworks are Windows (and macOS for Serial) native libraries, so the Unity integration targets Windows editor and Windows player builds.
- Can I use Bluetooth, Wi-Fi, and Serial in the same Unity project?
- Yes. Because all three are part of the Wireless Communication Library with a shared base, they can be combined in one project.
- Do I need a BLED112 dongle for Unity?
- No. It is only needed when you must have BLE on systems where the Microsoft stack is limited, or when you need to bypass a stack bug. See BLED112.
Bluetooth Classic
- Classic Bluetooth vs Bluetooth LE, which should I use?
- Classic (BR/EDR) carries audio, serial (SPP/RFCOMM), HID, and OBEX workloads. BLE targets low-power sensors, GATT, and beacons. The Bluetooth Framework supports both, and dual-mode devices can be used either way. See Classic profiles and GATT.
- Which Classic profiles are supported?
- SPP, HFP, A2DP, AVRCP, HID, OPP, FTP, PBAP, MAP, PAN, and DUN. See the profiles overview.
- How does pairing work?
- The framework supports automatic pairing (it intercepts pairing requests when
HandlePairingis true) and manual pairing (RemotePair). Legacy devices use a PIN (OnPinRequest); modern devices use Secure Simple Pairing (OnConfirm,OnPasskeyRequest,OnPasskeyNotification,OnNumericComparison). See Classic pairing and BLE pairing. - How do I disconnect a device without unpairing it?
- Enumerate connected devices with
EnumConnectedDevicesand disconnect withRemoteDisconnect. See Disconnect any Bluetooth device. - How do I work with Bluetooth audio devices?
- Use
wclAudioSwitcherto enumerate and route audio endpoints and to reconnect without re-pairing,wclBluetoothAudioReceiverfor A2DP receiving, andwclAudioVolume/wclAudioMeterfor volume and level metering. See Bluetooth audio. - How do I use RFCOMM, virtual COM ports, and OBEX?
- RFCOMM client/server covers SPP and other serial profiles; virtual COM ports expose an SPP device as a legacy COM port; OBEX implements OPP and FTP. See RFCOMM, vCOM, and OBEX.
- Are the Wii Remote and LEGO WeDo supported?
- The Wii Remote (a HID device) is supported by the Bluetooth Framework. LEGO WeDo 2.0 is handled by the separate WeDo Framework.
Bluetooth LE
- How do I receive and transmit BLE advertisements?
- Use
wclBluetoothLeBeaconWatcherto receive and decode advertisements, andwclBluetoothLeAdvertiserto transmit them. See Bluetooth LE advertisements. - Which beacon formats are supported?
- iBeacon, Eddystone (UID, URL, TLM), AltBeacon, Microsoft CDP, and custom or manufacturer-specific frames. See Beacon formats.
- What are scan parameters, connection parameters, and PHY?
- Scan parameters control the scan window and interval; connection parameters control the connection interval, latency, and timeout; the PHY controls the radio (1M, 2M, Coded). See scan parameters, connection parameters, and PHY.
- What is the difference between a GATT client and a GATT server?
- A GATT client (central) discovers and reads/writes characteristics and subscribes to notifications; a GATT server (peripheral) exposes services and characteristics. See GATT client and GATT server.
- What is BLED112 and when do I need it?
- BLED112 is a USB dongle that bypasses the Microsoft Bluetooth stack. Use it to add BLE to older Windows versions, to bypass stack bugs, or to access the raw radio. See BLED112.
- Does the framework support Bluetooth 5 extended advertising?
- Yes.
wclBluetoothLeAdvertisersupports extended advertising on Bluetooth 5 hardware with configurable primary and secondary PHY. See Extended advertising. - Can I receive Drone Remote ID and Apple Continuity?
- Yes. The framework decodes Drone Remote ID (BLE and Wi-Fi) and Apple Continuity advertisements. See Drone Remote ID and Apple Continuity.
- Can I capture raw BLE traffic?
- Yes. With a CC2540 dongle the BLE sniffer captures raw frames. See BLE sniffer.
Wi-Fi
- How do I connect to a Wi-Fi network?
- Use
wclWiFiClientto enumerate networks, connect, and manage profiles. See Wi-Fi client. - How does Wi-Fi Direct work?
- The framework provides an advertiser, a device watcher, and a client for Wi-Fi Direct. See Wi-Fi Direct.
- Can I create a software access point or a mobile hotspot?
- Yes, via the legacy Wireless Hosted Network, the Wi-Fi Direct SoftAP, or the Windows Mobile Hotspot. See Hosted network.
- How do I work with WLAN XML profiles?
- The framework imports, exports, and applies WLAN XML profiles. See WLAN XML.
- Does the framework support Wi-Fi sniffing?
- Yes,
wclWiFiSniffercaptures raw 802.11 frames. See Wi-Fi sniffer. - How do I change the Wi-Fi band or read advanced parameters?
- Use the Wi-Fi interface advanced parameters. See Wi-Fi band.
- Can I read the network category (public/private)?
- Yes, through the Windows Network List Manager integration. See Network List Manager.
Serial
- Does the Serial Framework work on Windows and macOS?
- Yes, it supports both platforms. See Serial client.
- What is the difference between the Serial Client and the Serial Monitor?
- The Serial Client opens, reads, and writes a port; the Serial Monitor enumerates serial and USB devices and reports device events. See Serial client and Serial monitor.
- How do I enumerate USB devices?
wclSerialMonitorenumerates COM ports and USB devices and can enable or disable them. See Serial monitor.- Does the Serial Framework support OBEX?
- No. OBEX is a Bluetooth Classic feature and belongs to the Bluetooth Framework.
Error codes and troubleshooting
- Where can I find the error codes?
- The complete list is on the error codes page (and the legacy set on errors8), grouped by framework.
- How do I interpret a WCL_E code?
- Methods return an
Int32result;WCL_E_SUCCESS(0) means success. Any other value is an error code you can look up on the error codes page. - What does error 0x000510B6 mean?
WCL_E_BLUETOOTH_LE_INVALID_CHARACTERISTIC_CONFIGURATION: the characteristic is marked both notifiable and indicatable. Set only one of the two properties to true.- Why do I get already paired or pairing errors?
WCL_E_BLUETOOTH_ALREADY_PAIREDmeans the device is already bonded, which is not a failure. Stale bonds can be cleared withRemoteUnpairand re-paired.- Are there known platform limitations?
- Yes. For example, Windows 10 1607 has a pairing bug (use BLED112), UWP and WinRT have GATT connection-management limitations, and some Windows 11 BLE devices require manual pairing through Settings. See the relevant topic pages.
Support
- How do I get support?
- Contact us through the contacts page or by email at support@btframework.com.
- How do I report a bug or request a feature?
- Contact us with the framework name, version, operating system, and, for errors, the exact error code and a short description of the steps.
- Do you offer custom development?
- Yes. See Custom Development.
- Where are the documentation and samples?
- The API reference is at docs.btframework.com,
the package's
Demofolder contains sample projects, and the how-to pages cover common scenarios.