BTM services: Difference between revisions
No edit summary |
No edit summary |
||
| Line 110: | Line 110: | ||
| 48 ([5.0.0-5.0.2] 31) || [5.0.0+] [[#GetGattIncludedServices]] | | 48 ([5.0.0-5.0.2] 31) || [5.0.0+] [[#GetGattIncludedServices]] | ||
|- | |- | ||
| 49 || [5. | | 49 ([5.0.0-5.0.2] 32) || [5.0.0+] [[#GetBelongingService]] | ||
|- | |- | ||
| 50 || [5. | | 50 ([5.0.0-5.0.2] 33) || [5.0.0+] [[#GetGattCharacteristics]] | ||
|- | |- | ||
| 51 || [5. | | 51 ([5.0.0-5.0.2] 34) || [5.0.0+] [[#GetGattDescriptors]] | ||
|- | |- | ||
| 52 || [5.1.0+] AcquireBleMtuConfigEvent | | 52 || [5.1.0+] AcquireBleMtuConfigEvent | ||
| Line 260: | Line 260: | ||
The param for the output u8 is unused by the sysmodule, hence the output is always 0. | The param for the output u8 is unused by the sysmodule, hence the output is always 0. | ||
== GetBelongingService == | |||
Takes a type-0x1A output buffer containing a [[#GattService]], an u16, an u32, returns an output u8 total_out. | |||
The u32 is the same as the param for [[#BleDisconnect]]. | |||
This is similar to [[#GetGattIncludedServices]] except this only returns 1 [[#GattService]]. | |||
== GetGattCharacteristics == | |||
Takes a type-0x6 output buffer containing an array of [[#GattCharacteristic]], an u16, an u32, returns an output u8 total_out. | |||
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | |||
== GetGattDescriptors == | |||
Takes a type-0x6 output buffer containing an array of [[#GattDescriptor]], an u16, an u32, returns an output u8 total_out. | |||
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | |||
== Cmd60 == | == Cmd60 == | ||
| Line 461: | Line 478: | ||
| 30 || [[#GetBelongingGattService]] | | 30 || [[#GetBelongingGattService]] | ||
|- | |- | ||
| 31 || [[#GetGattCharacteristics]] | | 31 || [[#GetGattCharacteristics_2|GetGattCharacteristics]] | ||
|- | |- | ||
| 32 || [[#GetGattDescriptors]] | | 32 || [[#GetGattDescriptors_2|GetGattDescriptors]] | ||
|- | |- | ||
| 33 || [[#AcquireBleMtuConfigEvent]] | | 33 || [[#AcquireBleMtuConfigEvent]] | ||