Changes

1,127 bytes added ,  19:49, 14 February 2017
Created page with "=Request= {{IPC/Request}} {{#vardefine:ipc_offset|0}} {{IPC/RequestEntry|Header code [0x00200102]}} {{IPC/RequestEntry|u32 inputsize}} {{IPC/RequestEntry|u32 outputsize}} {{IP..."
=Request=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x00200102]}}
{{IPC/RequestEntry|u32 inputsize}}
{{IPC/RequestEntry|u32 outputsize}}
{{IPC/RequestEntryRange|2|Timing related maybe?}}
{{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 sends a raw NFC command to the tag. First byte in the inbuf is the command, followed by any parameters for the command if required. The outbuf contains the command response.

outputsize value 0x800 will be used when it's >=0x800. An error will be returned if actual_output_size is larger than outputsize. This can only be used when the [[NFC:GetTagState|TagState]] is 3.