Changes

Jump to navigation Jump to search
651 bytes added ,  14:50, 21 October 2020
Line 1,468: Line 1,468:     
The DHCP server thread is started by the "nn.lp2p.StateMachine" thread eventually during group [[#CreateGroup|creation]].
 
The DHCP server thread is started by the "nn.lp2p.StateMachine" thread eventually during group [[#CreateGroup|creation]].
 +
 +
=== ActionFrame ===
 +
The Action frames have the following structure:
 +
* "Fixed parameters":
 +
** "Category code: Vendor Specific (127)"
 +
** "OUI: 00:22:aa (Nintendo Co., Ltd.)"
 +
* The Data starts with the following:
 +
 +
{| class="wikitable" border="1"
 +
|-
 +
! Offset
 +
! Size
 +
! Description
 +
|-
 +
| 0x0 || 0x2 || Usually 06 00?
 +
|-
 +
| 0x2 || 0x2 || Usually 20 02?
 +
|-
 +
| 0x4 || 0x2 || Usually 02 00?
 +
|-
 +
| 0x6 || 0x8 || Big-endian u64 LocalCommunicationId.
 +
|-
 +
| 0xE || 0x10 ||
 +
|-
 +
| 0x1E || 0x4 || Big-endian u32 Counter. The initial value is randomly-generated (?). This is incremented with each sent Action frame.
 +
|-
 +
| 0x22 || {remaining size} || Encrypted user-data.
 +
|}
    
[[Category:Services]]
 
[[Category:Services]]

Navigation menu