Bluetooth Driver services: Difference between revisions

No edit summary
Line 546: Line 546:


== WriteGattCharacteristic ==
== WriteGattCharacteristic ==
Takes a type-0x9 input buffer, a bool, an u8, a bool, an u32, a [[#GattId]], a [[#GattId]], a [[#GattId]], no output.
Takes a type-0x9 input buffer, a bool, an u8, a bool, an u32, a [[#GattId]], a [[#GattId]], no output.


== WriteGattDescriptor ==
== WriteGattDescriptor ==
Line 589: Line 589:
! Cmd || Name
! Cmd || Name
|-
|-
| 0 || LeClientReadCharacteristic
| 0 || [[#LeClientReadCharacteristic]]
|-
|-
| 1 || LeClientReadDescriptor
| 1 || [[#LeClientReadDescriptor]]
|-
|-
| 2 || LeClientWriteCharacteristic
| 2 || [[#LeClientWriteCharacteristic]]
|-
|-
| 3 || LeClientWriteDescriptor
| 3 || [[#LeClientWriteDescriptor]]
|-
|-
| 4 || LeClientRegisterNotification
| 4 || [[#LeClientRegisterNotification]]
|-
|-
| 5 || LeClientDeregisterNotification
| 5 || [[#LeClientDeregisterNotification]]
|-
|-
| 6 || SetLeResponse
| 6 || [[#SetLeResponse]]
|-
|-
| 7 || LeSendIndication
| 7 || [[#LeSendIndication]]
|-
|-
| 8 || GetLeEventInfo
| 8 || [[#GetLeEventInfo]]
|-
|-
| 9 || RegisterBleEvent
| 9 || [[#RegisterBleEvent]]
|}
|}
== LeClientReadCharacteristic ==
Takes a PID, a bool, an u8, an u32, a [[#GattId]], a [[#GattId]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== LeClientReadDescriptor ==
Takes a PID, a bool, an u8, an u32, a [[#GattId]], a [[#GattId]], a [[#GattId]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== LeClientWriteCharacteristic ==
Takes a PID, a type-0x9 input buffer, a bool, an u8, a bool, an u32, a [[#GattId]], a [[#GattId]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== LeClientWriteDescriptor ==
Takes a PID, a type-0x9 input buffer, a bool, an u8, an u32, a [[#GattId]], a [[#GattId]], a [[#GattId]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== LeClientRegisterNotification ==
Takes a PID, an input bool, an u32, a [[#GattId]], a [[#GattId]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== LeClientDeregisterNotification ==
Takes a PID, an input bool, an u32, a [[#GattId]], a [[#GattId]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== SetLeResponse ==
Takes a PID, a type-0x9 input buffer, an u8, a [[#GattAttributeUuid]], a [[#GattAttributeUuid]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== LeSendIndication ==
Takes a PID, a type-0x9 input buffer, an u8, a bool, a [[#GattAttributeUuid]], a [[#GattAttributeUuid]], an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], no output.
== GetLeEventInfo ==
Takes a PID, a type-0xA output buffer, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output [[#BleEventType]].
== RegisterBleEvent ==
Takes a PID, an [[Applet_Manager_services#AppletResourceUserId|AppletResourceUserId]], returns an output Event handle with EventClearMode=1.


= BluetoothPropertyType =
= BluetoothPropertyType =