Bluetooth Driver services: Difference between revisions
No edit summary |
|||
Line 1,908: | Line 1,908: | ||
|- | |- | ||
| 0x4 || 0x14 || [[#GattAttributeUuid]] | | 0x4 || 0x14 || [[#GattAttributeUuid]] | ||
|} | |||
= LeEventType = | |||
This is an u32 enum. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value | |||
! Name | |||
! Description | |||
|- | |||
| 0 || || | |||
|- | |||
| 4 || || | |||
|- | |||
| 5 || || | |||
|- | |||
| 6 || || | |||
|- | |||
| 7 || || | |||
|- | |||
| 9 || || | |||
|- | |||
| 13 || || | |||
|- | |||
| 16 || || | |||
|- | |||
| 21 || || | |||
|- | |||
| 25 || || | |||
|- | |||
| 35 || || | |||
|- | |||
| 50 || || | |||
|- | |||
| 52 || || | |||
|- | |||
| 55 || || | |||
|} | |||
= BleClientGattOperationType = | |||
This is an u8 enum. This is converted from [[#LeEventType]]. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Value | |||
! Name | |||
! Description | |||
|- | |||
| 0 || || Same as [[#LeEventType]] 0. | |||
|- | |||
| 1 || || Same as [[#LeEventType]] 55. | |||
|- | |||
| 2 || || Same as [[#LeEventType]] 25, 52. | |||
|- | |||
| 3 || || Same as [[#LeEventType]] 4, 16, 21, 50. | |||
|- | |||
| 4 || || Same as [[#LeEventType]] 5. | |||
|- | |||
| 5 || || Same as [[#LeEventType]] 6. | |||
|- | |||
| 6 || || Same as [[#LeEventType]] 7. | |||
|- | |||
| 7 || || Same as [[#LeEventType]] 9. | |||
|- | |||
| 8 || || Same as [[#LeEventType]] 13. | |||
|- | |||
| 9 || || Used as the default case when the [[#LeEventType]] is unrecognized. | |||
|- | |||
| 10 || || Same as [[#LeEventType]] 35. | |||
|} | |} | ||
Line 1,919: | Line 1,989: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x4 || | | 0x0 || 0x4 || [[#LeEventType]] | ||
|- | |- | ||
| 0x4 || 0x4 || | | 0x4 || 0x4 || | ||
Line 1,947: | Line 2,017: | ||
! Description | ! Description | ||
|- | |- | ||
| 0x0 || 0x1 || | | 0x0 || 0x1 || [[#BleClientGattOperationType]] | ||
|- | |- | ||
| 0x1 || 0x3 || Padding | | 0x1 || 0x3 || Padding |