Bluetooth Driver services: Difference between revisions

No edit summary
No edit summary
Line 194: Line 194:
| 89 ([5.0.0-5.0.2] 83) || [5.0.0+] [[#UnregisterGattDataPath]] ([5.0.0-8.1.1] [[#UnregisterGattDataPath|UnregisterLeDataPath]])
| 89 ([5.0.0-5.0.2] 83) || [5.0.0+] [[#UnregisterGattDataPath]] ([5.0.0-8.1.1] [[#UnregisterGattDataPath|UnregisterLeDataPath]])
|-
|-
| 90 ([5.0.0-5.0.2] 89) || [5.0.0+] ReadGattCharacteristic
| 90 ([5.0.0-5.0.2] 89) || [5.0.0+] [[#ReadGattCharacteristic]] ([5.0.0-8.1.1] [[#ReadGattCharacteristic|LeClientReadCharacteristic]])
|-
|-
| 91 ([5.0.0-5.0.2] 90) || [5.0.0+] ReadGattDescriptor
| 91 ([5.0.0-5.0.2] 90) || [5.0.0+] [[#ReadGattDescriptor]] ([5.0.0-8.1.1] [[#ReadGattDescriptor|LeClientReadDescriptor]])
|-
|-
| 92 ([5.0.0-5.0.2] 91) || [5.0.0+] WriteGattCharacteristic
| 92 ([5.0.0-5.0.2] 91) || [5.0.0+] [[#WriteGattCharacteristic]] ([5.0.0-8.1.1] [[#WriteGattCharacteristic|LeClientWriteCharacteristic]])
|-
|-
| 93 ([5.0.0-5.0.2] 92) || [5.0.0+] WriteGattDescriptor
| 93 ([5.0.0-5.0.2] 92) || [5.0.0+] [[#WriteGattDescriptor]] ([5.0.0-8.1.1] [[#WriteGattDescriptor|LeClientWriteDescriptor]])
|-
|-
| 94 || [5.0.0+] RegisterGattNotification
| 94 || [5.0.0+] [[#RegisterGattNotification]] ([5.0.0-8.1.1] [[#RegisterGattNotification|LeClientRegisterNotification]])
|-
|-
| 95 ([5.0.0-5.0.2] 93) || [5.0.0+] UnregisterGattNotification
| 95 ([5.0.0-5.0.2] 93) || [5.0.0+] [[#UnregisterGattNotification]] ([5.0.0-8.1.1] [[#UnregisterGattNotification|LeClientDeregisterNotification]])
|-
|-
| 96 ([5.0.0-5.0.2] 95) || [5.0.0+] GetLeHidEventInfo
| 96 ([5.0.0-5.0.2] 95) || [5.0.0+] [[#GetLeHidEventInfo]]
|-
|-
| 97 ([5.0.0-5.0.2] 96) || [5.0.0+] RegisterBleHidEvent
| 97 ([5.0.0-5.0.2] 96) || [5.0.0+] [[#RegisterBleHidEvent]]
|-
|-
| 98 || [5.1.0+] SetBleScanParameter
| 98 || [5.1.0+] [[#SetBleScanParameter]] ([5.1.0-8.1.1] [[#SetBleScanParameter|SetLeScanParameter]])
|-
|-
| 99 || [10.0.0+] MoveToSecondaryPiconet
| 99 || [10.0.0+] [[#MoveToSecondaryPiconet]]
|-
|-
| 256 || [5.0.0+] IsManufacturingMode
| 256 || [5.0.0+] [[#IsManufacturingMode]]
|-
|-
| 257 || [7.0.0+] EmulateBluetoothCrash
| 257 || [7.0.0+] [[#EmulateBluetoothCrash]]
|-
|-
| 258 || [9.0.0+] GetBleChannelMap
| 258 || [9.0.0+] [[#GetBleChannelMap]]
|}
|}


Line 532: Line 532:
== UnregisterGattDataPath ==
== UnregisterGattDataPath ==
Takes an input [[#GattAttributeUuid]], no output.
Takes an input [[#GattAttributeUuid]], no output.
== ReadGattCharacteristic ==
Takes an input bool, an u8, an u32, a [[#GattId]], a [[#GattId]], no output.
== ReadGattDescriptor ==
Takes an input bool, an u8, an u32, a [[#GattId]], a [[#GattId]], a [[#GattId]], no output.
== WriteGattCharacteristic ==
Takes a type-0x9 input buffer, a bool, an u8, a bool, an u32, a [[#GattId]], a [[#GattId]], a [[#GattId]], no output.
== WriteGattDescriptor ==
Takes a type-0x9 input buffer, a bool, an u8, an u32, a [[#GattId]], a [[#GattId]], a [[#GattId]], no output.
== RegisterGattNotification ==
Takes an input bool, an u32, a [[#GattId]], a [[#GattId]], no output.
== UnregisterGattNotification ==
Takes an input bool, an u32, a [[#GattId]], a [[#GattId]], no output.
== GetLeHidEventInfo ==
Takes a type-0xA output buffer, returns an output [[#BleEventType]].
== RegisterBleHidEvent ==
No input, returns an output Event handle with EventClearMode=1.
== SetBleScanParameter ==
Takes two input u16s, no output.
== MoveToSecondaryPiconet ==
Takes an input [[#Address]], no output.
== IsManufacturingMode ==
No input, returns an output bool.
== EmulateBluetoothCrash ==
Takes an input [[#FatalReason]], no output.
sdknso masks the FatalReason with an u16-mask before passing it to the cmd.
== GetBleChannelMap ==
Takes a type-0x16 output buffer containing a [[#ChannelMapList]].


= bt =
= bt =
Line 581: Line 622:
= BleEventType =
= BleEventType =
This is u32 enum "nn::bluetooth::BleEventType".
This is u32 enum "nn::bluetooth::BleEventType".
= FatalReason =
This is u32 enum "nn::bluetooth::FatalReason".


= AdapterProperty =
= AdapterProperty =