Difference between revisions of "APT:ReceiveParameter"
Jump to navigation
Jump to search
Steveice10 (talk | contribs) m |
|||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
− | | AppID | + | | [[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: | The following is located 0x100-bytes after the beginning of the above command buffer: | ||
Line 23: | Line 22: | ||
|- | |- | ||
| 0 | | 0 | ||
− | | <nowiki>(Size<<14) | 2</nowiki> | + | | <nowiki>(Parameter Size << 14) | 2</nowiki> |
|- | |- | ||
| 1 | | 1 | ||
− | | Output | + | | void*, Parameter Output |
|} | |} | ||
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 | ||
− | | | + | | 0x10 |
|- | |- | ||
| 6 | | 6 | ||
− | | Handle | + | | Handle Parameter |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
=Description= | =Description= | ||
This returns the current parameter data from NS state, from the source process which set the parameters. Once finished, NS will clear a flag in the NS state so that this command will return an error if this command is used again if parameters were not set again. | This returns the current parameter data from NS state, from the source process which set the parameters. Once finished, NS will clear a flag in the NS state so that this command will return an error if this command is used again if parameters were not set again. | ||
− | This is called when the second [[ | + | This is called when the second [[APT:Initialize]] event is triggered. It returns a signal type indicating why it was triggered. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 03:46, 22 November 2015
Request
Index Word | Description |
---|---|
0 | Header code [0x000D0080] |
1 | AppID |
2 | Parameter Size (max is 0x1000) |
The following is located 0x100-bytes after the beginning of the above command buffer:
Index Word | Description |
---|---|
0 | (Parameter Size << 14) | 2 |
1 | void*, Parameter Output |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Sender AppID |
3 | Command |
4 | Actual Parameter Size |
5 | 0x10 |
6 | Handle Parameter |
Description
This returns the current parameter data from NS state, from the source process which set the parameters. Once finished, NS will clear a flag in the NS state so that this command will return an error if this command is used again if parameters were not set again. This is called when the second APT:Initialize event is triggered. It returns a signal type indicating why it was triggered.