Bluetooth Driver services: Difference between revisions

No edit summary
Line 372: Line 372:
No input/output.
No input/output.


[12.0.0+] Takes an input BitFlagSet 32bit [[#ServiceFlag|service_mask]] and s64 nanoseconds_duration, no output.
[12.0.0+] Takes an input BitFlagSet 32bit [[#ServiceFlag|services]] and s64 nanoseconds_duration, no output.


This is used by [[BTM_services|btm]].
This is used by [[BTM_services|btm]].
Line 1,141: Line 1,141:
!  Description
!  Description
|-
|-
| 0 || || The funcptr which writes the data into state for this event is not called (only checked on [10.0.0]).
| [1.0.0-11.0.1] 0 || || The funcptr which writes the data into state for this event is not called (only checked on [10.0.0]).
|-
|-
| 3 || || New device found during Inquiry.
| 0 ([1.0.0-11.0.1] 3) || || New device found during Inquiry.
|-
|-
| 4 || || Inquiry status changed.
| 1 ([1.0.0-11.0.1] 4) || || Inquiry status changed.
|-
|-
| 5 || || Triggered by BSA_SEC_PIN_REQ_EVT: PIN code request for pairing.
| 5 || || Triggered by BSA_SEC_PIN_REQ_EVT: PIN code request for pairing.
Line 1,277: Line 1,277:
|}
|}


[[#EventType|Type3]]:
[12.0.0+] [[#EventType|Type0]]:
 
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x6 || Device [[#Address|address]].
|-
| 0x6 || 0xF9 || Device name, NUL-terminated string.
|-
| 0xFF || 0x3 || Class of Device.
|-
| 0x102 || 0x6 || Reserved
|}
 
[12.0.0+] [[#EventType|Type1]]:
 
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || 0x1 || Status: 0 = stopped, 1 = started.
|-
| 0x1 || 0x3 || Padding
|-
| 0x4 || 0x4 || services value from [[#StartInquiry]] when starting, otherwise this is value 0.
|}
 
[1.0.0-11.0.1] [[#EventType|Type3]]:


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,308: Line 1,340:
|}
|}


[[#EventType|Type4]]:
[1.0.0-11.0.1] [[#EventType|Type4]]:


{| class="wikitable" border="1"
{| class="wikitable" border="1"