Wireless Communication Library Support Forum
Frameworks => Bluetooth Framework => Topic started 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.
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 !
-
Hello,
It is probably because your hardware (dongle) does not support server mode.
-
By the way, what is your OS build number? GattServer is supported on 15063 and above.
-
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 ?
-
Its OS version. You must run at least 1703 (build 15063).