BTM services: Difference between revisions

No edit summary
No edit summary
Line 116: Line 116:
| 51 ([5.0.0-5.0.2] 34) || [5.0.0+] [[#GetGattDescriptors]]
| 51 ([5.0.0-5.0.2] 34) || [5.0.0+] [[#GetGattDescriptors]]
|-
|-
| 52 || [5.1.0+] AcquireBleMtuConfigEvent
| 52 ([5.0.0-5.0.2] 35) || [5.0.0+] [[#AcquireBleMtuConfigEvent]]
|-
|-
| 53 || [5.1.0+] ConfigureBleMtu
| 53 ([5.0.0-5.0.2] 36) || [5.0.0+] [[#ConfigureBleMtu]]
|-
|-
| 54 || [5.1.0+] GetBleMtu
| 54 ([5.0.0-5.0.2] 37) || [5.0.0+] [[#GetBleMtu]]
|-
|-
| 55 || [5.1.0+] RegisterBleGattDataPath
| 55 ([5.0.0-5.0.2] 38) || [5.0.0+] [[#RegisterBleGattDataPath]]
|-
|-
| 56 || [5.1.0+] UnregisterBleGattDataPath
| 56 ([5.0.0-5.0.2] 39) || [5.0.0+] [[#UnregisterBleGattDataPath]]
|-
|-
| 57 || [5.1.0+] RegisterAppletResourceUserId
| 57 || [5.1.0+] RegisterAppletResourceUserId
Line 142: Line 142:
| 64 || [10.0.0+]  
| 64 || [10.0.0+]  
|}
|}
With [5.1.0+] cmds 24-42 were moved/replaced/etc (input/output changed).


== GetState ==
== GetState ==
Line 277: Line 275:


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.
== AcquireBleMtuConfigEvent ==
No input, returns an output u8 and an Event handle with EventClearMode=1.
== ConfigureBleMtu ==
Takes an u16, an u32, no output.
The u32 is the same as the param for [[#BleDisconnect]].
== GetBleMtu ==
Takes an u32, returns an output u16.
The u32 is the same as the param for [[#BleDisconnect]].
== RegisterBleGattDataPath ==
Takes a [[#BleDataPath]], no output.
== UnregisterBleGattDataPath ==
Takes a [[#BleDataPath]], no output.


== Cmd60 ==
== Cmd60 ==
Line 482: Line 499:
| 32 || [[#GetGattDescriptors_2|GetGattDescriptors]]
| 32 || [[#GetGattDescriptors_2|GetGattDescriptors]]
|-
|-
| 33 || [[#AcquireBleMtuConfigEvent]]
| 33 || [[#AcquireBleMtuConfigEvent_2|AcquireBleMtuConfigEvent]]
|-
|-
| 34 || [[#ConfigureBleMtu]]
| 34 || [[#ConfigureBleMtu_2|ConfigureBleMtu]]
|-
|-
| 35 || [[#GetBleMtu]]
| 35 || [[#GetBleMtu_2|GetBleMtu]]
|-
|-
| 36 || [[#RegisterBleGattDataPath]]
| 36 || [[#RegisterBleGattDataPath_2|RegisterBleGattDataPath]]
|-
|-
| 37 || [[#UnregisterBleGattDataPath]]
| 37 || [[#UnregisterBleGattDataPath_2|UnregisterBleGattDataPath]]
|}
|}