Bluetooth Driver services: Difference between revisions
| Line 374: | Line 374: | ||
No input/output. | No input/output. | ||
[12.0.0+] Takes an input | [12.0.0+] Takes an input BitFlagSet 32bit [[#ServiceFlag|service_mask]] and s64 nanoseconds_duration, no output. | ||
This is used by [[BTM_services|btm]]. | This is used by [[BTM_services|btm]]. | ||
This starts Inquiry, the output data will be available via [[#GetEventInfo]]. Inquiry will automatically stop in 10.24 seconds. | This starts Inquiry, the output data will be available via [[#GetEventInfo]]. Inquiry will automatically stop in 10.24 seconds ([12.0.0+] calculated from the input duration instead). | ||
[12.0.0+] When service_mask is -1 the original defaults from pre-12.0.0 are used (besides duration). Otherwise, service_mask is written into the parameter struct (masked with the all-allowed-BSA-services value), and the EventInfo for discovered devices are triggered when inquiry finishes instead of immediately. | |||
== StopInquiry == | == StopInquiry == | ||