Bluetooth Driver services: Difference between revisions

Line 441: Line 441:


This is used by [[BTM_services|btm]].
This is used by [[BTM_services|btm]].
This calls an interface funcptr, then returns the converted ret as needed.
The funcptr does the following:
* Calls a func, returning the ret on failure. This uses a BSA extension (message 0x8CE), with the input u16 being used with this.
* Then another func is called, with the input [[#Address]], with the ret from here being returned. This throws an error if the device isn't paired. This opens a HID-Host connection to the specified [[#Address]]. The passed sec_mask is 0x12 (Inbound/outbound authentication required), and brcm_mask is set for enabling TBFC Page.


== AddPairedDeviceInfo ==
== AddPairedDeviceInfo ==