2024-06-12 07:53 AM - last edited on 2024-06-12 08:24 AM by STTwo-32
Hello, can somebody help me to select the STM32 controller and it's developer board for my first project that involves:
wireless air mouse with keyboard and TV controller?
Solved! Go to Solution.
2024-10-22 10:42 AM - edited 2024-10-31 08:53 PM
In regards to:
"Wireless USB is obsolete, and has been for a long time - so that's a non-starter"
1. I am able to make connection only to one of my two identical Windows 11 computers!
- I did not use this "Advanced" Bluetooth devices discovery mode on my second PC.
2. My Combo project with BLE keyboard and mouse is working only when keyboard descriptor is very small. When I start adding fields to it report - after making connection to PC - BLE driver gives error:
This device cannot start. (Code 10)
No top level collections were found in this device.
So, I think, this is BLE device driver Microsoft bug and I need to write my own driver - very undesirable,
or try Wireless USB!
Moving to Nordic will not solve this problem.
Also using Macintosh PC will be very limited.
DO YOU HAVE ANY OTHER IDEAs ?
Any way, thanks for support.
2024-10-23 12:20 AM
@GS2 wrote:I think, this is BLE device driver Microsoft bug and I need to write my own driver
What makes you think that?
2024-10-23 09:10 AM
2. My Combo project with BLE keyboard and mouse is working only when keyboard descriptor is very small. When I start adding fields to it report descriptor - after making connection to PC - BLE driver gives error: "This device cannot start. (Code 10) - No top level collections were found in this device". HID keyboard report descriptor itself, without mouse descriptor, is working fine as mouse alone too. So this is not a HID syntax error. My experience telling me that there is some size limit that is cutting off report descriptor at the end and that why it loosing top level collection.
Same error happens when I combine Mouse and Media kyes.
I have reported this bug to Microsoft, but I am not optimistic about there interest to fix it!
2024-10-24 09:02 AM
Also this bug (HID report descriptor cut off) can be on both side, not only with BLE PC device driver, but cut off can be on STMWB55 controller side. I just do not now how to differentiate.
2024-10-24 09:32 PM - edited 2024-11-02 08:57 AM
Yes, I have miss configuration setting in the ble_config.h file:
#define BLE_CFG_HIDS_REPORT_MAP_MAX_LEN 80
That why my HID report descriptor was cut at 82 bytes.
Why it was set so low? It does not protect anything! I think it should be like 255!