APT:ReceiveParameter

APT:ReceiveParameter

Request #

Index WordDescription
0Header code [0x000D0080]
1AppID
2Parameter 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 WordDescription
0(Parameter Size << 14) | 2
1void*, Parameter Output

Response #

Index WordDescription
0Header code [0x000D0104]
1Result code
2Sender AppID
3Command
4Actual Parameter Size
50x10 (Move handle descriptor)
6Handle Parameter
7(Actual Parameter Size << 14) | 2 (static buffer descriptor)
8void*, Parameter to send

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.