Bluetooth Driver services: Difference between revisions
No edit summary |
No edit summary |
||
Line 414: | Line 414: | ||
The sysmodule impl for the funcptr used with this cmd only uses the [[#Address]] - this and hard-coded PIN "0000" are written into the parameter struct (and a size field for the PIN). | The sysmodule impl for the funcptr used with this cmd only uses the [[#Address]] - this and hard-coded PIN "0000" are written into the parameter struct (and a size field for the PIN). | ||
[12.0.0+] The input [[#PinCode]] is now actually used and passed to BSA, instead of hard-coding the PIN. | |||
== RespondToSspRequest == | == RespondToSspRequest == | ||
Line 1,315: | Line 1,317: | ||
= PinCode = | = PinCode = | ||
This is "nn::bluetooth::hal::PinCode". This is a 0x11-byte struct with 1-byte alignment. | This is "nn::bluetooth::hal::PinCode". This is a 0x11-byte struct with 1-byte alignment. | ||
{| class="wikitable" border="1" | |||
|- | |||
! Offset | |||
! Size | |||
! Description | |||
|- | |||
| 0x0 || 0xF || PinCode | |||
|- | |||
| 0xF || 0x1 || PinCode length, must be 0x1-0xF otherwise the sysmodule will Abort. | |||
|} | |||
= HidData = | = HidData = |