Changes

Jump to navigation Jump to search
1,109 bytes added ,  19:33, 17 February 2017
Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x000500C2]}} {{IPC/RequestEntry|u32 inputsize}} {{IPC/RequestEntry|u32 outputsize}} {{IP..."
=Request=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x000500C2]}}
{{IPC/RequestEntry|u32 inputsize}}
{{IPC/RequestEntry|u32 outputsize}}
{{IPC/RequestEntry|u32 timing value. This is the raw version of the [[NFC:SendTagCommand]] timing field.}}
{{IPC/TranslateStaticBuffer|<nowiki>Input buffer address with static_buf_id=0</nowiki>|0}}
{{IPC/RequestEnd}}

{{IPC/RequestStaticBuffers}}
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Output buffer address|0}}
{{IPC/RequestEnd}}

=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code}}
{{IPC/RequestEntry|Result code}}
{{IPC/RequestEntry|u32 actual_output_size}}
{{IPC/TranslateStaticBuffer|<nowiki>Output data pointer with static_buf_id=0</nowiki>|0}}
{{IPC/RequestEnd}}

=Description=
This is about the same as [[NFCS:SendTagCommand]], except that this verifies that the input/output buffer ptrs are not NULL. This also clears the output buffer before calling the cmd-sending func. A state field(probably TagState?) must match 3.

outputsize value 0x800 will be used when it's >=0x800.

Navigation menu