Bluetooth HID issue

I am trying to get wio terminal working as a hid bluetooth device.
I tried to use ESP32-BLE-Keyboard, but failed.
And I have just found the code about Bluetooth HID devices in the wio terminal official Bluetooth library. But I didn’t see any documents about them. How do I use official libraries to create HID devices?