Bluetooth Driver services: Difference between revisions
No edit summary |
No edit summary |
||
Line 528: | Line 528: | ||
This is used by [[BTM_services|btm]]. | This is used by [[BTM_services|btm]]. | ||
See [[#HidEventInfo]]. | |||
== SetTsi == | == SetTsi == | ||
Line 1,536: | Line 1,538: | ||
|- | |- | ||
| 0x0 || 0x2 || [[#FatalReason]] | | 0x0 || 0x2 || [[#FatalReason]] | ||
|} | |||
= HidEventInfo = | |||
This is the output buffer for [[#GetHidEventInfo]] / events in sharedmem. The data stored here depends on the [[#HidEventType]]. | |||
[[#HidEventType|Type0]], for [[#GetHidEventInfo]]: | |||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0x6 || Device [[#Address|address]]. | |||
|- | |||
| 0x6 || 0x2 || Padding | |||
|- | |||
| 0x8 || 0x4 || Status: | |||
[1.0.0-11.0.1] 0 = hid connection opened, 2 = hid connection closed, 8 = failed to open hid connection. | |||
[12.0.0+] 0 = hid connection closed, 1 = hid connection opened, 2 = failed to open hid connection. | |||
|} | |} | ||