71 AcceptClient(uint16_t nodeId)
asm(
"AcceptClient__Q4_2nn3dlp4Cafe6ServerSFUs");
92 Finalize() asm("Finalize__Q4_2nn3dlp4Cafe6ServerSFv");
104 GetClientInfo(
nn::uds::Cafe::NodeInformation *clientInfo, uint16_t nodeId) asm("GetClientInfo__Q4_2nn3dlp4Cafe6ServerSFPQ4_2nn3uds4Cafe15NodeInformationUs");
137 uint32_t *unitsTotal,
138 uint32_t *unitsReceived,
139 uint16_t nodeId) asm("GetClientState__Q4_2nn3dlp4Cafe6ServerSFPQ4_2nn3dlp4Cafe11ClientStatePUiT2Us");
155 uint16_t *connectingClients,
156 uint16_t length) asm("GetConnectingClients__Q4_2nn3dlp4Cafe6ServerSFPUsT1Us");
186 nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe6ServerSFUcUiT1PQ4_2nn3cfg3CTR8UserName");
208 uint8_t maxClientNum,
211 nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe6ServerSFPbUcUiT2PQ4_2nn3cfg3CTR8UserName");
224 OpenSessions(
bool isManualAccept, uint8_t channel) asm("OpenSessions__Q4_2nn3dlp4Cafe6ServerSFbUc");
243 RebootAllClients(const
char *passPhrase) asm("RebootAllClients__Q4_2nn3dlp4Cafe6ServerSFPCc");
288 uint32_t blockBufferSize,
289 uint32_t blockBufferNum,
290 nn::cfg::CTR::UserName *userName)
asm(
"Initialize__Q4_2nn3dlp4Cafe13ServerPrivateSFUcUiT1N22PQ4_2nn3cfg3CTR8UserName");
318 uint8_t maxClientNum,
321 uint32_t blockBufferSize,
322 uint32_t blockBufferNum,
323 nn::cfg::CTR::UserName *userName)
asm(
"Initialize__Q4_2nn3dlp4Cafe13ServerPrivateSFPbUcUiT2N23PQ4_2nn3cfg3CTR8UserName");
Result value type used by nn libraries.
static nn::Result GetInternalState(ServerState *state) asm("GetInternalState__Q4_2nn3dlp4Cafe13ServerPrivateSFPQ4_2nn3dlp4Cafe11ServerState")
Gets the server state.
static nn::Result Initialize(uint8_t maxClientNum, uint32_t uniqueId, uint8_t childIndex, uint32_t blockBufferSize, uint32_t blockBufferNum, nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe13ServerPrivateSFUcUiT1N22PQ4_2nn3cfg3CTR8UserName")
Initializes DLP.
static nn::Result Initialize(bool *dupNoticeNeed, uint8_t maxClientNum, uint32_t uniqueId, uint8_t childIndex, uint32_t blockBufferSize, uint32_t blockBufferNum, nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe13ServerPrivateSFPbUcUiT2N23PQ4_2nn3cfg3CTR8UserName")
Initializes DLP.
static nn::Result RebootAllClients(const char *passPhrase) asm("RebootAllClients__Q4_2nn3dlp4Cafe6ServerSFPCc")
Reboots all clients into the Download Play child.
static nn::Result Finalize() asm("Finalize__Q4_2nn3dlp4Cafe6ServerSFv")
Finalizes DLP.
static nn::Result CloseSessions() asm("CloseSessions__Q4_2nn3dlp4Cafe6ServerSFv")
Closes the DLP session.
static nn::Result GetState(ServerState *state) asm("GetState__Q4_2nn3dlp4Cafe6ServerSFPQ4_2nn3dlp4Cafe11ServerState")
Gets the server state.
static nn::Result OpenSessions(bool isManualAccept, uint8_t channel) asm("OpenSessions__Q4_2nn3dlp4Cafe6ServerSFbUc")
Opens the DLP session.
static nn::Result StartDistribution() asm("StartDistribute__Q4_2nn3dlp4Cafe6ServerSFv")
Starts distribution of the Download Play child.
static nn::Result AcceptClient(uint16_t nodeId) asm("AcceptClient__Q4_2nn3dlp4Cafe6ServerSFUs")
Accepts a client into the DLP child distribution.
static nn::Result GetClientState(ClientState *state, uint16_t nodeId) asm("GetClientState__Q4_2nn3dlp4Cafe6ServerSFPQ4_2nn3dlp4Cafe11ClientStateUs")
Gets a client state.
static nn::Result GetClientInfo(nn::uds::Cafe::NodeInformation *clientInfo, uint16_t nodeId) asm("GetClientInfo__Q4_2nn3dlp4Cafe6ServerSFPQ4_2nn3uds4Cafe15NodeInformationUs")
Gets information about a client.
static nn::Result DisconnectClient(uint16_t nodeId) asm("DisconnectClient__Q4_2nn3dlp4Cafe6ServerSFUs")
Disconnects a client from the DLP session.
static nn::Result PollStateChange(uint8_t flags) asm("PollStateChange__Q4_2nn3dlp4Cafe6ServerSFUc")
Checks if the server state chas changed, and waits until it changes if specified.
static nn::Result GetConnectingClients(uint16_t *receivedLength, uint16_t *connectingClients, uint16_t length) asm("GetConnectingClients__Q4_2nn3dlp4Cafe6ServerSFPUsT1Us")
Gets the clients that are connected to the DLP session.
static nn::Result Initialize(uint8_t maxClientNum, uint32_t uniqueId, uint8_t childIndex, nn::cfg::CTR::UserName *userName) asm("Initialize__Q4_2nn3dlp4Cafe6ServerSFUcUiT1PQ4_2nn3cfg3CTR8UserName")
Initializes DLP.
Represents a console username, used in UDS and DLP.
ClientState
Represents the client state.
@ Receiving
The client is receiving the distributed DLP child.
@ Accepted
The client is accepted for the DLP child distribution.
@ Connecting
The client is connected to the session and pending to be accepted.
@ Ready
The client has received the distribution and is ready to boot the DLP child.
ServerState
Represents the server state. All values between 3 and 7 are considered internal state.
@ Distributed
The server has distributed the DLP child.
@ DistributingInternal
The server is distributing the DLP child to the clients.
@ Finished
The server has finished distribution and clients are booted into the DLP child.
@ Open
The server is open to new connections.
@ Failed
The server failed to distribute the DLP child to the clients.
@ Idle
The server is initialized but there is no active network.
@ Distributing
Public value for internal states.
@ Uninitialized
The server is not initialized.
@ DLP_POLL_NONBLOCK
Prevents PollStateChange from blocking if no new data is available.