Difference between revisions of "APT:GlanceParameter"
Jump to navigation
Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0080] |- | 1 | AppletID |- | 2 | Parameter buffer size, max size is 0x1000. ...") |
|||
(3 intermediate revisions by 3 users not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | | + | | [[NS_and_APT_Services#AppIDs|AppID]] |
|- | |- | ||
| 2 | | 2 | ||
− | | Parameter | + | | Parameter Size (max is 0x1000) |
|} | |} | ||
− | + | The following is located 0x100-bytes after the beginning of the above command buffer, as a static buffer descriptor receiving the static buffer in the response: | |
− | The following is located 0x100-bytes after the beginning of the above command buffer: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
Line 23: | Line 22: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | <nowiki>(Size<<14) | 2</nowiki> | + | | <nowiki>(Parameter Size << 14) | 2</nowiki> |
|- | |- | ||
| 1 | | 1 | ||
− | | Output | + | | void*, Parameter Output |
|} | |} | ||
Line 36: | Line 35: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | Header code | + | | Header code [0x000E0104] |
|- | |- | ||
| 1 | | 1 | ||
Line 42: | Line 41: | ||
|- | |- | ||
| 2 | | 2 | ||
− | | | + | | Sender [[NS_and_APT_Services#AppIDs|AppID]] |
|- | |- | ||
| 3 | | 3 | ||
− | | | + | | [[NS_and_APT_Services#Command|Command]] |
|- | |- | ||
| 4 | | 4 | ||
− | | Actual | + | | Actual Parameter Size |
|- | |- | ||
| 5 | | 5 | ||
− | | | + | | 0x0 |
|- | |- | ||
| 6 | | 6 | ||
− | | Handle | + | | Handle Parameter |
|- | |- | ||
| 7 | | 7 | ||
− | | <nowiki>(Size<<14) | 2</nowiki> | + | | <nowiki>(Actual Parameter Size << 14) | 2</nowiki> (static buffer descriptor) |
|- | |- | ||
| 8 | | 8 | ||
− | | | + | | void*, Parameter to send |
|} | |} | ||
=Description= | =Description= | ||
− | This is exactly the same as [[APT:ReceiveParameter]](except for the word value prior to the output handle), except this will not clear the flag(except when responseword[3]==8 || responseword[3]==9) in NS state. Thus, the parameter data can still be loaded via [[APT:ReceiveParameter]]/APT:GlanceParameter after using this command, except when responseword[3] is the above values. | + | This is exactly the same as [[APT:ReceiveParameter]] (except for the word value prior to the output handle), except this will not clear the flag (except when responseword[3] == 8 || responseword[3] == 9) in NS state. Thus, the parameter data can still be loaded via [[APT:ReceiveParameter]]/[[APT:GlanceParameter]] after using this command, except when responseword[3] is one of the above values. |
Latest revision as of 13:37, 7 August 2016
Request[edit]
Index Word | Description |
---|---|
0 | Header code [0x000E0080] |
1 | AppID |
2 | Parameter Size (max is 0x1000) |
The following is located 0x100-bytes after the beginning of the above command buffer, as a static buffer descriptor receiving the static buffer in the response:
Index Word | Description |
---|---|
0 | (Parameter Size << 14) | 2 |
1 | void*, Parameter Output |
Response[edit]
Index Word | Description |
---|---|
0 | Header code [0x000E0104] |
1 | Result code |
2 | Sender AppID |
3 | Command |
4 | Actual Parameter Size |
5 | 0x0 |
6 | Handle Parameter |
7 | (Actual Parameter Size << 14) | 2 (static buffer descriptor) |
8 | void*, Parameter to send |
Description[edit]
This is exactly the same as APT:ReceiveParameter (except for the word value prior to the output handle), except this will not clear the flag (except when responseword[3] == 8 || responseword[3] == 9) in NS state. Thus, the parameter data can still be loaded via APT:ReceiveParameter/APT:GlanceParameter after using this command, except when responseword[3] is one of the above values.