1,025 bytes added
, 18:56, 17 February 2017
=Request=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code [0x00110100]}}
{{IPC/RequestEntry|u32, Unknown. inr1 for send_nfctag_cmd().}}
{{IPC/RequestEntry|u32 outputsize}}
{{IPC/RequestEntry|u8 pageaddr}}
{{IPC/RequestEntry|u8 totalpages}}
{{IPC/RequestEnd}}
{{IPC/RequestStaticBuffers}}
{{#vardefine:ipc_offset|0}}
{{IPC/TranslateStaticBuffer|Output buffer address with <nowiki>static_buf_id=0</nowiki>|0}}
{{IPC/RequestEnd}}
=Response=
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code}}
{{IPC/RequestEntry|Result code}}
{{IPC/TranslateStaticBuffer|<nowiki>Output data pointer with static_buf_id=0</nowiki>|0}}
{{IPC/RequestEnd}}
=Description=
This reads raw NFC tag pages by calling send_nfctag_cmd() with cmd 0x3A("FAST_READ"). The output-data is stored on stack, which is copied to the specified output-buffer afterwards using the actual_output_size. An error is returned if actual_output_size is larger than outputsize.
outputsize 0x800 is used when it's >=0x800.