LDN services: Difference between revisions

Line 1,521: Line 1,521:
| 0x0 || 0x2 || Usually 06 00?
| 0x0 || 0x2 || Usually 06 00?
|-
|-
| 0x2 || 0x2 || Usually 20 02?
| 0x2 || 0x2 || Usually 20 02?(Second byte depends on whether encryption is used?)
|-
|-
| 0x4 || 0x2 || Usually 02 00?
| 0x4 || 0x2 || Usually 02 00?(varies)
|-
|-
| 0x6 || 0x8 || Big-endian version of [[#GroupInfo]]+0x10.
| 0x6 || 0x8 || Big-endian version of [[#GroupInfo]]+0x10.
|-
|-
| 0xE || 0x10 || Same as [[#GroupInfo]]+0x0.
| 0xE || 0x10 || Same as [[#GroupInfo]]+0x0.
|}
When encryption is used, the remaining data is:
{| class="wikitable" border="1"
|-
|-
| 0x1E || 0x4 || Big-endian u32 Counter. The initial value is randomly-generated (?). This is incremented with each sent Action frame.
! Offset
! Size
! Description
|-
|-
| 0x22 || {remaining size} || Encrypted user-data. Also includes 0x10-bytes of unknown data.
| 0x0 || 0x4 || Big-endian u32 Counter. The initial value is randomly-generated (?). This is incremented with each sent Action frame.
|-
| 0x4 || {remaining size} || Encrypted user-data. Also includes 0x10-bytes of unknown data.
|}
 
When plaintext is used, the remaining data is:
 
{| class="wikitable" border="1"
|-
! Offset
! Size
! Description
|-
| 0x0 || {remaining size} || Plaintext user-data.
|}
|}


[[Category:Services]]
[[Category:Services]]