Skip to content

Secure Protocol

Yannik Marchand edited this page Nov 4, 2017 · 22 revisions

NEX Protocols > Secure Connection (0x0B)

Method ID Method Name
1 Register
2 RequestConnectionData
3 RequestUrls
4 RegisterEx
5 TestConnectivity
6 UpdateUrls
7 ReplaceUrl
8 SendReport

(1) Register

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

Request

Type Description
List<String> Local client urls

Response

Type Description
Uint32 Result code
Uint32 Connection id
StationURL Public 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

Type Description
Uint32 CID of station url
Uint32 PID of station url

Response

Type Description
Bool Unknown
List<ConnectionData> Connection data

Connection Data (Structure)

Type Description
StationURL Station url
Uint32 Connection id

(3) RequestUrls

Request

Type Description
Uint32 CID
Uint32 PID

Response

Type Description
Bool Unknown
List<StationURL> Station urls

(4) RegisterEx

Request

Type Description
List<String> Local client urls
Data<NintendoLoginData> Login data

Nintendo Login Data

Type Description
String Token (received from the account server)

Response

Same as response for the Register method.

(5) TestConnectivity

This method takes no parameters and returns no values.

(6) UpdateUrls

(7) ReplaceUrl

Request

| Type | Description | | StationURL | Old station url | | StationURL | New station url |

Response

This method does not return anything.

(8) SendReport

Clone this wiki locally