Bluetooth Driver services: Difference between revisions
Line 333: | Line 333: | ||
This is used by [[BTM_services|btm]]. | This is used by [[BTM_services|btm]]. | ||
This calls an interface funcptr. On success, the funcs for updating the interface funcptr tables are called (same as [[#InitializeBluetooth]]). Then the converted ret is returned as needed. | [1.0.0-11.0.1] This calls an interface funcptr. On success, the funcs for updating the interface funcptr tables are called (same as [[#InitializeBluetooth]]). Then the converted ret is returned as needed. | ||
* [12.0.0+] Vfuncs for various interface objects are called, with failure triggering an Abort in some cases. | |||
* [12.0.0+] Calls funcs to update interfaces object ptrs to use the disabled-object. | |||
* [12.0.0+] Calls the same GPIO func as [[#EnableBluetooth]] with param=0, then 0 is returned. | |||
* [12.0.0+] Various code described below was moved into the above vfunc(s), etc. | |||
When bluetooth is already disabled, that funcptr just returns 0. Otherwise when it's already enabled, it does the following: | When bluetooth is already disabled, that funcptr just returns 0. Otherwise when it's already enabled, it does the following: |