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
Response
| Type | Name | Description |
|---|
| Result | %retval% | Result code |
| Uint32 | pidConnectionID | Rendez-Vous connection id |
| StationURL | urlPublic | 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 | Name | Description |
|---|
| Uint32 | cidTarget | CID of station url |
| Uint32 | pidTarget | PID of station url |
Response
| Type | Name | Description |
|---|
| Bool | %retval% | Result |
| List<ConnectionData> | pvecConnectionsData | Connection data |
(3) RequestUrls
Request
| Type | Name | Description |
|---|
| Uint32 | cidTarget | CID |
| Uint32 | pidTarget | PID |
Response
| Type | Name | Description |
|---|
| Bool | %retval% | Result |
| List<StationURL> | plstURLs | Station urls |
(4) RegisterEx
Request
Response
Same as response for the Register method.
(5) TestConnectivity
This method takes no parameters and doesn’t return anything.
(6) UpdateURLs
Request
Response
This method doesn’t return anything.
(7) ReplaceURL
Request
Response
This method does not return anything.
(8) SendReport
Request
| Type | Name | Description |
|---|
| Uint32 | reportId | Report id |
| qBuffer | reportData | Data |
Response
This method does not return anything.
Types
| Type | Name | Description |
|---|
| StationURL | m_StationUrl | Station url |
| Uint32 | m_ConnectionID | Connection id |
| Type | Description |
|---|
| String | Token (received from the account server) |