Difference between revisions of "NFCS:SendTagCommand"
Jump to navigation
Jump to search
(Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00130102]}} {{IPC/RequestEntry|u32, Unknown. inr1 for send_nfctag_cmd().}} {{IPC/Reques...") |
|||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
− | {{IPC/Request | + | {{IPC/Request|Request}} |
− | + | {{IPC/RequestHeader|0x0013|4|2}} | |
− | {{IPC/ | ||
{{IPC/RequestEntry|u32, Unknown. inr1 for send_nfctag_cmd().}} | {{IPC/RequestEntry|u32, Unknown. inr1 for send_nfctag_cmd().}} | ||
{{IPC/RequestEntry|u32 inputsize}} | {{IPC/RequestEntry|u32 inputsize}} | ||
Line 11: | Line 10: | ||
{{IPC/RequestStaticBuffers}} | {{IPC/RequestStaticBuffers}} | ||
− | |||
{{IPC/TranslateStaticBuffer|Output buffer address|0}} | {{IPC/TranslateStaticBuffer|Output buffer address|0}} | ||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
=Response= | =Response= | ||
− | {{IPC/Request | + | {{IPC/Request|Response}} |
− | + | {{IPC/RequestHeader|0x0013|2|2}} | |
− | {{IPC/ | ||
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
{{IPC/RequestEntry|u32 actual_output_size}} | {{IPC/RequestEntry|u32 actual_output_size}} |
Latest revision as of 22:56, 17 September 2024
Request[edit]
Request Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u32, Unknown. inr1 for send_nfctag_cmd(). | ||||||||
2 | u32 inputsize | ||||||||
3 | u32 outputsize | ||||||||
4 | u8 timing value. This is the raw version of the NFC:SendTagCommand timing field. | ||||||||
5 | Descriptor for static buffer (id 1) | ||||||||
6 | Input buffer address with static_buf_id=1 |
The handler for this IPC command expects the following 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | Descriptor for static buffer (id 0) |
1 | Output buffer address |
Response[edit]
Response Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | u32 actual_output_size | ||||||||
3 | Descriptor for static buffer (id 0) | ||||||||
4 | Output data pointer with static_buf_id=0 |
Description[edit]
This is similar to NFC:SendTagCommand, except this just calls send_nfctag_cmd() directly without calling a bunch of other code.
outputsize value 0x800 will be used when it's >=0x800.