Difference between revisions of "NWMEXT:ControlWirelessEnabled"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00080040] |- | 1 | 0 = enable, 1 = disable. |} =Response= {| class="wikitable" ...")
 
 
(2 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| 0 = enable, 1 = disable.
+
| u8 Flag: 0 = enable, 1 = disable.
 
|}
 
|}
  
Line 26: Line 26:
  
 
=Description=
 
=Description=
This controls whether the wireless hardware is disabled or enabled(Home Menu displays "Disabled" for network status with the former). This is used by Home Menu for the wireless(Wifi+NFC) enable/disable option under Home Menu settings, for New3DS systems. It's unknown whether this is used on Old3DS in a sysmodule somewhere.
+
This controls whether the wireless hardware is disabled or enabled(Home Menu displays "Disabled" for network status with the former). This is used by Home Menu for the wireless(Wifi+NFC) enable/disable option under Home Menu settings, for New3DS systems.
 +
 
 +
NWM module just verifies state fields, and uses [[SRV:PublishToSubscriber]] with notificationID=0x206 and flags=0x1 for this NWM command. The input value for this NWMEXT command is only used for verifying with NWM state, nothing more.
 +
 
 +
NWM itself is subscribed to notificationID=0x206. On Old3DS systems, mcu-module publishes that notification when handling the wireless slider interrupt, and this command isn't used.

Latest revision as of 07:06, 16 March 2016

Request[edit]

Index Word Description
0 Header code [0x00080040]
1 u8 Flag: 0 = enable, 1 = disable.

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This controls whether the wireless hardware is disabled or enabled(Home Menu displays "Disabled" for network status with the former). This is used by Home Menu for the wireless(Wifi+NFC) enable/disable option under Home Menu settings, for New3DS systems.

NWM module just verifies state fields, and uses SRV:PublishToSubscriber with notificationID=0x206 and flags=0x1 for this NWM command. The input value for this NWMEXT command is only used for verifying with NWM state, nothing more.

NWM itself is subscribed to notificationID=0x206. On Old3DS systems, mcu-module publishes that notification when handling the wireless slider interrupt, and this command isn't used.