Capmtp services: Difference between revisions
Add capmtp |
No edit summary |
||
Line 1: | Line 1: | ||
= capmtp = | = capmtp = | ||
This implements the MTP PTP protocol[https://www.usb.org/document-library/media-transfer-protocol-v11-spec-and-mtp-v11-adopters-agreement]. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 5: | Line 6: | ||
! Cmd || Name || Notes | ! Cmd || Name || Notes | ||
|- | |- | ||
| 0 || || No input | | 0 || || No input. Returns a session of [[#ICapmtpInterface]] | ||
|- | |- | ||
|} | |} | ||
Line 20: | Line 21: | ||
| 1 || | | 1 || | ||
|- | |- | ||
| 2 || | | 2 || || No input or output. Starts MTP command handler "nn.capmtp.CapmtpCommandLoop". | ||
|- | |- | ||
| 3 || | | 3 || || No input or output. Stops "nn.capmtp.CapmtpCommandLoop". | ||
|- | |- | ||
| 4 || | | 4 || || No input. Returns true if "nn.capmtp.CapmtpCommandLoop" is running. | ||
|- | |- | ||
| 5 || | | 5 || | ||
Line 35: | Line 36: | ||
|- | |- | ||
|} | |} | ||
== Notes == | |||
Only operation calls 0x1001-0x100A are available. |