Closed rstenet closed 1 year ago
ST Internal Reference: 157039
Hello @rstenet ,
The trouble is localized in the Report Reference Descriptor initialization for each Report Characteristic (especially for for the index in the first byte). The Report Reference Descriptor is composed by:
During HID service and characteristics creation, the index in the Report Reference Descriptors are not correctly initialized.
Best regards.
Hello @rstenet ,
Correction done and available in the frame of a coming release.
Best regards, Rania
P-NUCLEO-WB55.Nucleo STM32CubeIDE: 1.11.0 STM32CubeWB: 1.15.0. FUS version 1.2.0 Wireless Firmware version 1.15.0 (BLE_Stack_full)
Hi all,
modified the app as follows
in BLE_Hid\core\inc\app_conf.h changed the debug trace uart to
#define CFG_DEBUG_TRACE_UART hw_uart1
in BLE_Hid\STM32_WPAN\App\hids_app.c added keyboard report descriptor
changed the HIDSAPP_Init accordingly
modified the HIDSAPP_Profile_Update just to send "d" on Button_1 press
and changed Human Interface Device Service (HIDS) in BLE_Hid\STM32_WPAN\App\ble_conf.h
So far so good. Project compiles. Nucleo connects to the PC over BT and on Button_1 press "d" appears. Now the issue. Upun connection the PC tries to inform the keyboard that the Num Lock is on and fails. When I set BLE_CFG_HIDS_INPUT_REPORT_NB to 0 the Output Report gets processed correctly but as expected "d" is not send to the PC.
How can I get both working? Thank you.