Bus services: Difference between revisions
Line 393: | Line 393: | ||
! Cmd || Name || Notes | ! Cmd || Name || Notes | ||
|- | |- | ||
| 0 || || Takes marshalled arguments | | 0 || OpenSession || Takes marshalled arguments | ||
|- | |- | ||
| 1 || || Takes marshalled arguments | | 1 || OpenSessionForTest || Takes marshalled arguments | ||
|- | |- | ||
| 2 || || | | 2 || || | ||
Line 408: | Line 408: | ||
|- | |- | ||
| 7 || || | | 7 || || | ||
|- | |||
|} | |||
=== Port Mapping === | |||
OpenSession translates user IDs to to the uart port index. | |||
OpenSessionForTest takes the port index verbatim. | |||
{| class="wikitable" border="1" | |||
|- | |||
! Name || Port || Usage | |||
|- | |||
| 1 || UART-D || Bluetooth | |||
|- | |||
| 2 || UART-B || Joycon(R) | |||
|- | |||
| 3 || UART-C || Joycon(L) | |||
|- | |- | ||
|} | |} |