Bluetooth Driver services: Difference between revisions
No edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 218: | Line 218: | ||
| 100 || [12.0.0+] [[#IsBluetoothEnabled]] | | 100 || [12.0.0+] [[#IsBluetoothEnabled]] | ||
|- | |- | ||
| 128 || [12.0.0+] | | 128 || [12.0.0+] [[#AcquireAudioEvent]] | ||
|- | |- | ||
| 129 || [12.0.0+] | | 129 || [12.0.0+] [[#GetAudioEventInfo]] | ||
|- | |- | ||
| 130 || [12.0.0+] | | 130 || [12.0.0+] [[#OpenAudioConnection]] | ||
|- | |- | ||
| 131 || [12.0.0+] | | 131 || [12.0.0+] [[#CloseAudioConnection]] | ||
|- | |- | ||
| 132 || [12.0.0+] | | 132 || [12.0.0+] [[#OpenAudioOut]] | ||
|- | |- | ||
| 133 || [12.0.0+] | | 133 || [12.0.0+] [[#CloseAudioOut]] | ||
|- | |- | ||
| 134 || [12.0.0+] | | 134 || [12.0.0+] [[#AcquireAudioOutStateChangedEvent]] | ||
|- | |- | ||
| 135 || [12.0.0+] | | 135 || [12.0.0+] [[#StartAudioOut]] | ||
|- | |- | ||
| 136 || [12.0.0+] | | 136 || [12.0.0+] [[#StopAudioOut]] | ||
|- | |- | ||
| 137 || [12.0.0+] | | 137 || [12.0.0+] [[#GetAudioOutState]] | ||
|- | |- | ||
| 138 || [12.0.0+] | | 138 || [12.0.0+] [[#GetAudioOutFeedingCodec]] | ||
|- | |- | ||
| 139 || [12.0.0+] | | 139 || [12.0.0+] [[#GetAudioOutFeedingParameter]] | ||
|- | |- | ||
| 140 || [12.0.0+] | | 140 || [12.0.0+] [[#AcquireAudioOutBufferAvailableEvent]] | ||
|- | |- | ||
| 141 || [12.0.0+] | | 141 || [12.0.0+] [[#SendAudioData]] | ||
|- | |- | ||
| 142 || [12.0.0+] | | 142 || [12.0.0+] [[#AcquireAudioControlInputStateChangedEvent]] | ||
|- | |- | ||
| 143 || [12.0.0+] | | 143 || [12.0.0+] [[#GetAudioControlInputState]] | ||
|- | |- | ||
| 144 || [12.0.0+] | | 144 || [12.0.0+] [[#AcquireAudioConnectionStateChangedEvent]] | ||
|- | |- | ||
| 145 || [12.0.0+] | | 145 || [12.0.0+] [[#GetConnectedAudioDevice]] | ||
|- | |- | ||
| 256 || [5.0.0+] [[#IsManufacturingMode]] | | 256 || [5.0.0+] [[#IsManufacturingMode]] | ||
Line 925: | Line 925: | ||
This uses a BSA extension (message 0x8D0). | This uses a BSA extension (message 0x8D0). | ||
== IsBluetoothEnabled == | |||
No input, returns an output bool. | |||
== AcquireAudioEvent == | |||
No input, returns an output Event handle. | |||
sdknso uses an user-specified EventClearMode. | |||
== GetAudioEventInfo == | |||
Takes a type-0xA output buffer, returns an output [[#AudioEventType]]. | |||
== OpenAudioConnection == | |||
Takes an input [[#Address]], no output. | |||
== CloseAudioConnection == | |||
Takes an input [[#Address]], no output. | |||
== OpenAudioOut == | |||
Takes an input [[#Address]], returns an output u32. | |||
== CloseAudioOut == | |||
Takes an input u32, no output. | |||
== AcquireAudioOutStateChangedEvent == | |||
Takes an input u32, returns an output Event handle. | |||
sdknso uses an user-specified EventClearMode. | |||
== StartAudioOut == | |||
== StopAudioOut == | |||
== GetAudioOutState == | |||
== GetAudioOutFeedingCodec == | |||
== GetAudioOutFeedingParameter == | |||
== AcquireAudioOutBufferAvailableEvent == | |||
== SendAudioData == | |||
== AcquireAudioControlInputStateChangedEvent == | |||
== GetAudioControlInputState == | |||
== AcquireAudioConnectionStateChangedEvent == | |||
== GetConnectedAudioDevice == | |||
== IsManufacturingMode == | == IsManufacturingMode == | ||
Line 946: | Line 996: | ||
[12.0.0+] Takes two type-0xA output buffers, returns an output s32. The first buffer contains an array of [[#Address]], the second buffer contains an array of BitFlagSet with [[#LeChannel]] and bit-count=40. | [12.0.0+] Takes two type-0xA output buffers, returns an output s32. The first buffer contains an array of [[#Address]], the second buffer contains an array of BitFlagSet with [[#LeChannel]] and bit-count=40. | ||
= bt = | = bt = |