-
Notifications
You must be signed in to change notification settings - Fork 9
Description
I'm not really sure how any of this works, so forgive my newb issue reports here.
I'm trying to use the Lua script to introspect the communications between the host and the device. The packets going back and forth never seem to do a "get_sidetone_volume" or a "get_battery_status" or "get_poweroff_timeout", but the G Hub definitely sees, for example, the battery status.
I am seeing some out-of-bounds Lua errors. Here's an example:
16 10.690362 3.13.0 host USBHID 28 SET_REPORT Response
0000 1c 00 80 32 91 7b 8f a3 ff ff 00 00 00 00 08 00 ...2.{..........
0010 01 03 00 0d 00 00 02 00 00 00 00 03 ............
I'm not really sure what should be in here.
There is a ton of "get_feature" request/response, some of the EQ stuff, some button stuff, but never any "get_battery" or a few of the others.
3.13.3 is where all the get_feature communication is.
I see all the "out of bounds" errors on data coming back from the device on 3.13.0
I also see the device sending some HID data on 3.13.3. For example:
HID Data: 0120000000
The sequence of events seems to be a get feature from host to 3.13.0, followed by an out of bounds Lua processing error from 3.13.0 to host, and then followed by either pure HID data, or a get_feature response.
I'd love to dig in and get more of this working, but, honestly, it's in relation to https://github.com/Sapd/HeadsetControl to a certain degree.