Recent Posts

Pages: [1] 2 3 ... 10
1
WiFi Framework / WiFi Framework 7.8.11.0 has been released
« Last post by Mike Petrichenko on February 18, 2021, 10:34:32 AM »
What's new:

* Critical Update: Fixed Access Violation appears in EnumBss() method.

https://www.btframework.com/wififramework.htm
2
WiFi Framework / WiFi Framework 7.8.10.0 has been released
« Last post by Mike Petrichenko on February 16, 2021, 04:46:32 PM »
What's new:

* Synchronization method skDefault has been renamed to skMessages;
* Synchronization method skNone has been removed;
* New synchronization method has been added skThread: with this synchronization method all events fire in a separately running internal thread;
* The wclThread class has been moved from wclMessaging to a separate (wclThread) source file;
* The wclThread class now supports skThread and skApc synchronization;
* The Signal() method has been removed from the wclThread class;
* The OnSignal() method has been removed from the wclThread class;
* The wclPowerEventsMonitor class has been moved from wclMessaging to a separate (wclPowerEvents) source file;
* WCL_E_THREAD_SIGNAL_FAILED error code has been removed;
* New error code: WCL_E_THREAD_INVALID_SYNCHRONIZATION;
* New error code: WCL_E_THREAD_UNABLE_CREATE_THREAD_TERM_EVENT;
* C++ Edition: demo applications build issue has been fixed.

https://www.btframework.com/wififramework.htm
3
Timeline Framework / Timeline Framework 7.0.17.0 has been released
« Last post by Mike Petrichenko on February 16, 2021, 04:21:57 PM »
What's new in this release:

* Synchronization method skDefault has been renamed to skMessages;
* Synchronization method skNone has been removed;
* New synchronization method has been added skThread: with this synchronization method all events fire in a separately running internal thread;
* The wclThread class has been moved from wclMessaging to a separate (wclThread) source file;
* The wclThread class now supports skThread and skApc synchronization;
* The Signal() method has been removed from the wclThread class;
* The OnSignal() method has been removed from the wclThread class;
* The wclPowerEventsMonitor class has been moved from wclMessaging to a separate (wclPowerEvents) source file;
* WCL_E_THREAD_SIGNAL_FAILED error code has been removed;
* New error code: WCL_E_THREAD_INVALID_SYNCHRONIZATION;
* New error code: WCL_E_THREAD_UNABLE_CREATE_THREAD_TERM_EVENT;
* C++ Edition: demo applications build issue has been fixed.

https://www.btframework.com/timelineframework.htm
4
Serial Framework / Serial Framework 7.5.8.0 has been released
« Last post by Mike Petrichenko on February 16, 2021, 04:08:11 PM »
What's new in this release:

* Synchronization method skDefault has been renamed to skMessages;
* Synchronization method skNone has been removed;
* New synchronization method has been added skThread: with this synchronization method all events fire in a separately running internal thread;
* The wclThread class has been moved from wclMessaging to a separate (wclThread) source file;
* The wclThread class now supports skThread and skApc synchronization;
* The Signal() method has been removed from the wclThread class;
* The OnSignal() method has been removed from the wclThread class;
* The wclPowerEventsMonitor class has been moved from wclMessaging to a separate (wclPowerEvents) source file;
* WCL_E_THREAD_SIGNAL_FAILED error code has been removed;
* New error code: WCL_E_THREAD_INVALID_SYNCHRONIZATION;
* New error code: WCL_E_THREAD_UNABLE_CREATE_THREAD_TERM_EVENT;
* C++ Edition: demo applications build issue has been fixed.

https://www.btframework.com/serialframework.htm
5
IrDA Framework / IrDA Framework 7.6.8.0 has been released
« Last post by Mike Petrichenko on February 16, 2021, 03:48:08 PM »
What's new in this release:

* Synchronization method skDefault has been renamed to skMessages;
* Synchronization method skNone has been removed;
* New synchronization method has been added skThread: with this synchronization method all events fire in a separately running internal thread;
* The wclThread class has been moved from wclMessaging to a separate (wclThread) source file;
* The wclThread class now supports skThread and skApc synchronization;
* The Signal() method has been removed from the wclThread class;
* The OnSignal() method has been removed from the wclThread class;
* The wclPowerEventsMonitor class has been moved from wclMessaging to a separate (wclPowerEvents) source file;
* WCL_E_THREAD_SIGNAL_FAILED error code has been removed;
* New error code: WCL_E_THREAD_INVALID_SYNCHRONIZATION;
* New error code: WCL_E_THREAD_UNABLE_CREATE_THREAD_TERM_EVENT;
* C++ Edition: demo applications build issue has been fixed.

https://www.btframework.com/irdaframework.htm
6
Bluetooth Framework / Bluetooth Framework 7.10.8.0 has been released
« Last post by Mike Petrichenko on February 16, 2021, 03:23:07 PM »
What's new:

* Synchronization method skDefault has been renamed to skMessages;
* Synchronization method skNone has been removed;
* New synchronization method has been added skThread: with this synchronization method all events fire in a separately running internal thread;
* The wclThread class has been moved from wclMessaging to a separate (wclThread) source file;
* The wclThread class now supports skThread and skApc synchronization;
* The Signal() method has been removed from the wclThread class;
* The OnSignal() method has been removed from the wclThread class;
* The wclPowerEventsMonitor class has been moved from wclMessaging to a separate (wclPowerEvents) source file;
* WCL_E_THREAD_SIGNAL_FAILED error code has been removed;
* New error code: WCL_E_THREAD_INVALID_SYNCHRONIZATION;
* New error code: WCL_E_THREAD_UNABLE_CREATE_THREAD_TERM_EVENT;
* C++ Edition: demo applications build issue has been fixed;
* New error code: WCL_E_BLUETOOTH_RADIO_CLOSING;
* Fixed wclBluetoothManager.Close() freezing.

https://www.btframework.com/bluetoothframework.htm
7
Bluetooth Framework / Re: BTF with Unreal Engine
« Last post by Antidamage on February 16, 2021, 09:10:21 AM »
Aah, that's handy. Cheers!
8
Bluetooth Framework / Re: BTF with Unreal Engine
« Last post by Mike Petrichenko on February 16, 2021, 07:56:56 AM »
Actually there is wclThread class (https://docs.btframework.com/bluetooth/c++/classwcl_common_1_1_cwcl_thread.html) that provides such functional and designed specially for such things.
9
Bluetooth Framework / Re: BTF with Unreal Engine
« Last post by Antidamage on February 16, 2021, 07:13:04 AM »
That's exactly right! I just discovered this myself. I had to add this to my thread loop:

Code: [Select]
MSG Msg;
while (!StopThread) {
PeekMessageA(&Msg, NULL, 0, 0, 0);
TranslateMessage(&Msg);
DispatchMessageA(&Msg);
BluetoothSubsystem->ProcessBluetoothQueue();
}

...and after that it simply worked.

I will send through something that can reproduce the hang if I get some time. :)
10
Bluetooth Framework / Re: BTF with Unreal Engine
« Last post by Mike Petrichenko on February 16, 2021, 06:18:53 AM »
Hello,

As your separate thread has no message ;loop it will never process any messages. If you run it in separate thread the thread must have message loop. Or use APC sync (https://forum.btframework.com/index.php?topic=3520.0). Also take a look on IoT demo applications and on Console demo application.

About freezing on disconnect it would be see your code to understand what can be wrong there. It would be great if you can prepare simple test app that reproduce the issue and send it to us at support@btframework.com so we can reproduce and fix it.
Pages: [1] 2 3 ... 10