Wireless Communication Library Support Forum

Frameworks => Bluetooth Framework => Topic started by: maximee on December 07, 2020, 05:18:29 PM

Title: wclGattServer error 327700 (WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTED)
Post by: maximee on December 07, 2020, 05:18:29 PM
Hello,
I try to create a GATT Server with brframework.
I have written this code, but I get an error that I go through... Please could you help me ?
I run the Gatt Server on Windows LTSB 2016.

Code: [Select]
wclBluetoothManager FManager = new wclBluetoothManager();
FManager.Open();

wclBluetoothRadio Radio = FManager[0];

wclGattServer FServer = new wclGattServer();
int iRes = FServer.Initialize(Radio);
if (iRes == 327700)
    Console.WriteLine("Initialize server failed: 337700 (WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTED)");

Thanks !
Title: Re: wclGattServer error 327700 (WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTED)
Post by: Mike Petrichenko on December 07, 2020, 06:25:02 PM
Hello,

It is probably because your hardware (dongle) does not support server mode.
Title: Re: wclGattServer error 327700 (WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTED)
Post by: Mike Petrichenko on December 07, 2020, 06:32:16 PM
By the way, what is your OS build number? GattServer is supported on 15063 and above.
Title: Re: wclGattServer error 327700 (WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTED)
Post by: maximee on December 07, 2020, 07:18:48 PM
Thank you Mike for your answer !
The dongle is an Edimax EW-7611ULB.
The OS is Windows 10 Enterprise LTSB 2016 Version 1607 (build number 14393.2906)

It may be probably the dongle so... ?
Any advice on a similar dongle that yould work or a specific option to check before buying another one ?
Title: Re: wclGattServer error 327700 (WCL_E_BLUETOOTH_FEATURE_NOT_SUPPORTED)
Post by: Mike Petrichenko on December 07, 2020, 07:20:36 PM
Its OS version. You must run at least 1703 (build 15063).