cancel
Showing results for 
Search instead for 
Did you mean: 

Wireless controller

GS2
Senior

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?

24 REPLIES 24

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.

 


@GS2 wrote:

I think, this is BLE device driver Microsoft bug and I need to write my own driver


What makes you think that?

 

GS2
Senior

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!

GS2
Senior

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.

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!