Difference between revisions of "NWMUDS:CreateNetwork2"

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...")
 
 
(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 07:38, 23 July 2023

Request[edit]

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[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

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.