NWMUDS:CreateNetwork2: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x001D0044] |- | 1 | Passphrase buffer size |- | 2 | (NetworkStru..."
 
Steveice10 (talk | contribs)
 
(3 intermediate revisions by one other user not shown)
Line 12: Line 12:
|-
|-
| 2
| 2
| (NetworkStructSize<<12)  <nowiki>|</nowiki> 2
| (NetworkStructSize<<12)  <nowiki>|</nowiki> 0x402
|-
|-
| 3
| 3
Line 21: Line 21:
|-
|-
| 5
| 5
| Input passphrase buffer ptr (including the NULL-terminator)
| Input passphrase buffer ptr
|}
|}


Line 38: Line 38:


=Description=
=Description=
This begins hosting an UDS local-WLAN AP.
This begins hosting an UDS local-WLAN AP. NWM-module itself throws a fatal-error if the max_nodes field in the NetworkStruct is set to 0x1.

Latest revision as of 08:38, 23 July 2023

Request

Index Word Description
0 Header code [0x001D0044]
1 Passphrase buffer size
2 (NetworkStructSize<<12) | 0x402
3 Input network struct buffer ptr
4 (PassphraseSize<<12) | 2
5 Input passphrase buffer ptr

Response

Index Word Description
0 Header code
1 Result code

Description

This begins hosting an UDS local-WLAN AP. NWM-module itself throws a fatal-error if the max_nodes field in the NetworkStruct is set to 0x1.