Changes

356 bytes added ,  16:30, 18 May 2020
no edit summary
Line 234: Line 234:     
sdknso uses EventClearMode=1 with this. sdknso will Abort if this cmd fails.
 
sdknso uses EventClearMode=1 with this. sdknso will Abort if this cmd fails.
 +
 +
This is signaled when the data returned by [[#GetNetworkInfo]]/[[#GetNetworkInfoLatestUpdate]] is updated.
    
=== GetNetworkInfoLatestUpdate ===
 
=== GetNetworkInfoLatestUpdate ===
Line 857: Line 859:  
! Description
 
! Description
 
|-
 
|-
| 0x0 || 0x1 || Flag, the field in state is reset to zero by [[#GetNetworkInfoLatestUpdate]] after loading it.
+
| 0x0 || 0x1 || The field in state is reset to zero by [[#GetNetworkInfoLatestUpdate]] after loading it. Official apps checks whether this is non-zero.
 
|-
 
|-
 
| 0x1 || 0x7 || Not initialized with [[#GetNetworkInfoLatestUpdate]].
 
| 0x1 || 0x7 || Not initialized with [[#GetNetworkInfoLatestUpdate]].
Line 893: Line 895:  
= SecurityParameter =
 
= SecurityParameter =
 
This is "nn::ldn::SecurityParameter". This is a 0x20-byte struct with 1-byte alignment.
 
This is "nn::ldn::SecurityParameter". This is a 0x20-byte struct with 1-byte alignment.
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x10 || Data, used with the same key derivation as [[#SecurityConfig]].
 +
|-
 +
| 0x10 || 0x10 || NetworkId, see [[#NetworkInfo]].
 +
|}
    
= UserConfig =
 
= UserConfig =