Bluetooth Driver services: Difference between revisions

No edit summary
No edit summary
Line 471: Line 471:
The response will be available via [[#GetHidEventInfo]].
The response will be available via [[#GetHidEventInfo]].


Tsi: non-value-0xFF to Set, value 0xFF to Exit.
This uses a BSA extension.
 
Tsi: non-value-0xFF to Set (BSA message 0x8CA), value 0xFF to Exit (BSA message 0x8CB).


Set: this uses Broadcom HCI vendor command 0xFD95 with param_len=0x2: param +0x0 = 0x1, +0x1 = {Tsi value}. If the remote device doesn't support this, an error will be thrown later via the [[#GetHidEventInfo|EventInfo]].
Set: this uses Broadcom HCI vendor command 0xFD95 with param_len=0x2: param +0x0 = 0x1, +0x1 = {Tsi value}. If the remote device doesn't support this, an error will be thrown later via the [[#GetHidEventInfo|EventInfo]].
Line 482: Line 484:
The response will be available via [[#GetHidEventInfo]].
The response will be available via [[#GetHidEventInfo]].


bool flag: true = Set, false = Exit.
This uses a BSA extension.
 
bool flag: true = Set (BSA message 0x8CC), false = Exit (BSA message 0x8CD).


== SetZeroRetransmission ==
== SetZeroRetransmission ==
Line 492: Line 496:


The response will be available via [[#GetHidEventInfo]].
The response will be available via [[#GetHidEventInfo]].
This uses a BSA extension (message 0x8CF).


== EnableMcMode ==
== EnableMcMode ==
Line 497: Line 503:


This is used by [[BTM_services|btm]].
This is used by [[BTM_services|btm]].
This uses a BSA extension (message 0x8CE).


== EnableLlrScan ==
== EnableLlrScan ==
Line 502: Line 510:


This is used by [[BTM_services|btm]].
This is used by [[BTM_services|btm]].
This uses a BSA extension (message 0x8CE).


== DisableLlrScan ==
== DisableLlrScan ==
Line 507: Line 517:


This is used by [[BTM_services|btm]].
This is used by [[BTM_services|btm]].
This uses a BSA extension (message 0x8CE).


== EnableRadio ==
== EnableRadio ==
Line 512: Line 524:


This is used by [[BTM_services|btm]].
This is used by [[BTM_services|btm]].
This uses a BSA extension (message 0x8CE).


== SetVisibility ==
== SetVisibility ==
Line 828: Line 842:


The response will be available via [[#GetHidEventInfo]].
The response will be available via [[#GetHidEventInfo]].
This uses a BSA extension (message 0x8D0).


== IsManufacturingMode ==
== IsManufacturingMode ==
Line 1,464: Line 1,480:


The bluetooth stack is Broadcom/Cypress brcm BSA (for example, see [https://github.com/hardkernel/buildroot_linux_amlogic_brcm-bsa here]).
The bluetooth stack is Broadcom/Cypress brcm BSA (for example, see [https://github.com/hardkernel/buildroot_linux_amlogic_brcm-bsa here]).
Various btdrv service commands use a custom BSA extension (message-ids based at 0x8CA/2250), this is referred to as "robson".


The following L2CAP services are registered (dynamic channels): SDP, ATT (GATT), RFCOMM, HID (PSMs: 0x11, 0x13, 0x8001, 0x8003).
The following L2CAP services are registered (dynamic channels): SDP, ATT (GATT), RFCOMM, HID (PSMs: 0x11, 0x13, 0x8001, 0x8003).