Home docs nex protocols Secure Connection (11)
Post

Secure Connection (11)

Extended Protocols

Nintendo Badge Arcade extends this protocol with an additional method.

Methods

(1) Register

The secure server keeps a list of client urls that can be registered (added) and replaced by the client.

Request

TypeNameDescription
List<StationURL>vecMyURLsLocal client urls

Response

TypeNameDescription
Result%retval%Result code
Uint32pidConnectionIDRendez-Vous connection id
StationURLurlPublicPublic client url, as perceived by the server

The client should place the connection id into the RVCID field of its client station urls.

(2) RequestConnectionData

Request

TypeNameDescription
Uint32cidTargetCID of station url
Uint32pidTargetPID of station url

Response

TypeNameDescription
Bool%retval%Result
List<ConnectionData>pvecConnectionsDataConnection data

(3) RequestUrls

Request

TypeNameDescription
Uint32cidTargetCID
Uint32pidTargetPID

Response

TypeNameDescription
Bool%retval%Result
List<StationURL>plstURLsStation urls

(4) RegisterEx

Request

TypeNameDescription
List<StationURL>vecMyURLsLocal client urls
Data<NintendoLoginData / AccountExtraInfo>hCustomDataLogin data, see below

Response

Same as response for the Register method.

(5) TestConnectivity

This method takes no parameters and doesn’t return anything.

(6) UpdateURLs

Request

TypeNameDescription
List<StationURL>vecMyURLsStation urls

Response

This method doesn’t return anything.

(7) ReplaceURL

Request

TypeNameDescription
StationURLtargetOld station url
StationURLurlNew station url

Response

This method does not return anything.

(8) SendReport

Request

TypeNameDescription
Uint32reportIdReport id
qBufferreportDataData

Response

This method does not return anything.

Types

ConnectionData (Structure)

TypeNameDescription
StationURLm_StationUrlStation url
Uint32m_ConnectionIDConnection id

NintendoLoginData / AccountExtraInfo

TypeDescription
StringToken (received from the account server)
Contents