BTM services: Difference between revisions
No edit summary |
No edit summary |
||
Line 328: | Line 328: | ||
== GetGattIncludedServices == | == GetGattIncludedServices == | ||
Takes a type-0x6 output buffer containing an array of [[#GattService]], an u16 | Takes a type-0x6 output buffer containing an array of [[#GattService]], an u16 ServiceHandle, an u32, returns an output u8. | ||
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | ||
Line 337: | Line 337: | ||
== GetBelongingService == | == GetBelongingService == | ||
Takes a type-0x1A output buffer containing a [[#GattService]], an u16 | Takes a type-0x1A output buffer containing a [[#GattService]], an u16 AttributeHandle, an u32, returns an output bool. | ||
The u32 is the same as the param for [[#BleDisconnect]]. The output bool indicates whether a [[#GattService]] was returned. | The u32 is the same as the param for [[#BleDisconnect]]. The output bool indicates whether a [[#GattService]] was returned. | ||
Line 344: | Line 344: | ||
== GetGattCharacteristics == | == GetGattCharacteristics == | ||
Takes a type-0x6 output buffer containing an array of [[#GattCharacteristic]], an u16 | Takes a type-0x6 output buffer containing an array of [[#GattCharacteristic]], an u16 ServiceHandle, an u32, returns an output u8 total_out. | ||
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | ||
Line 351: | Line 351: | ||
== GetGattDescriptors == | == GetGattDescriptors == | ||
Takes a type-0x6 output buffer containing an array of [[#GattDescriptor]], an u16 | Takes a type-0x6 output buffer containing an array of [[#GattDescriptor]], an u16 CharHandle, an u32, returns an output u8 total_out. | ||
The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | The u32 is the same as the param for [[#BleDisconnect]]. The max array entries is 100. | ||
Line 361: | Line 361: | ||
== ConfigureBleMtu == | == ConfigureBleMtu == | ||
Takes an u16, an u32, no output. | Takes an u16 mtu, an u32, no output. | ||
The u32 is the same as the param for [[#BleDisconnect]]. | The u32 is the same as the param for [[#BleDisconnect]]. | ||
== GetBleMtu == | == GetBleMtu == | ||
Takes an u32, returns an output u16. | Takes an u32, returns an output u16 mtu. | ||
The u32 is the same as the param for [[#BleDisconnect]]. | The u32 is the same as the param for [[#BleDisconnect]]. |