Bluetooth Driver services: Difference between revisions
Line 329: | Line 329: | ||
[12.0.0+] The Enable vfunc called above for Audio does the following: | [12.0.0+] The Enable vfunc called above for Audio does the following: | ||
* Calls a func which does the following: | * Calls a func which does the following: | ||
** Uses BSA to enable AV. Besides the callback, the only field in the passed struct which is set is <code>features</code>. This is ORRed to set bit0 for "remote control target", which with [13.0.0+] is only done if [[System_Settings|system-setting]] <code>bluetooth_debug!is_av_rc_tg</code> is set to true. | ** Uses BSA to enable AV. Besides the callback, the only field in the passed struct which is set is <code>features</code>. This is ORRed to set bit0 for "remote control target", which with [13.0.0+] is only done if [[System_Settings|system-setting]] <code>bluetooth_debug!is_av_rc_tg</code> is set to true. With [14.0.0+] this is also ORRed with value 0xA (bit1/bit3) when [[System_Settings|system-setting]] <code>bluetooth_debug!is_av_rc_ct</code> is set to true (which is the case for [14.0.0+]). | ||
** Error handling + state setup is done. | ** Error handling + state setup is done. | ||
** Uses BSA to register AV twice, with the default input struct. | ** Uses BSA to register AV twice, with the default input struct. |