LDN services: Difference between revisions

No edit summary
No edit summary
Line 611: Line 611:
| [9.0.0-9.0.1] 288 || [[#GetGroupInfo]]
| [9.0.0-9.0.1] 288 || [[#GetGroupInfo]]
|-
|-
| [9.0.0-9.0.1] 296 ||
| [9.0.0-9.0.1] 296 || [[#Join]]
|-
|-
| [9.0.0-9.0.1] 304 ||  
| [9.0.0-9.0.1] 304 || [[#GetGroupOwner]]
|-
|-
| [9.0.0-9.0.1] 312 || [[#GetIpConfig]]
| [9.0.0-9.0.1] 312 || [[#GetIpConfig]]
|-
|-
| [9.0.0-9.0.1] 320 ||
| [9.0.0-9.0.1] 320 || [[#Leave]]
|-
|-
| 512 || [[#Scan]]
| 512 || [[#Scan]]
Line 722: Line 722:
| 288 || [[#GetGroupInfo]]
| 288 || [[#GetGroupInfo]]
|-
|-
| 296 ||  
| 296 || [[#Join]]
|-
|-
| 304 ||
| 304 || [[#GetGroupOwner]]
|-
|-
| 312 || [[#GetIpConfig]]
| 312 || [[#GetIpConfig]]
|-
|-
| 320 ||  
| 320 || [[#Leave]]
|-
|-
| 328 || [[#AttachJoinEvent]]
| 328 || [[#AttachJoinEvent]]
Line 764: Line 764:
Validates that the [[#GetRole|role]] is non-zero, then copies the struct from state into the output buffer.
Validates that the [[#GetRole|role]] is non-zero, then copies the struct from state into the output buffer.


=== Cmd296 ===
=== Join ===
Takes a type-0x32 output buffer containing a [[#GroupInfo]] and a type-0x31 input buffer containing a 0x200-byte struct.
Takes a type-0x32 output buffer containing a [[#GroupInfo]] and a type-0x31 input buffer containing a 0x200-byte struct.


This runs the same code as [[#CreateGroup]] to generate the [[#GroupInfo]] for the input struct (which with [[#CreateGroup]] would be available with [[#GetGroupInfo]]). The input struct is the same as [[#CreateGroup]].
This runs the same code as [[#CreateGroup]] to generate the [[#GroupInfo]] for the input struct (which with [[#CreateGroup]] would be available with [[#GetGroupInfo]]). The input struct is the same as [[#CreateGroup]].


=== Cmd304 ===
=== GetGroupOwner ===
No input, returns 0x80-bytes of output.
No input, returns an output 0x80-bytes [[#NodeInfo_2|NodeInfo]].


Validates that the [[#GetRole|role]] is non-zero, then copies the data from state to output.
Validates that the [[#GetRole|role]] is non-zero, then copies the data from state to output.
Line 781: Line 781:
u32 +0x24 is the [[#Ipv4Address]], u32 +0x44 is the [[#SubnetMask]].
u32 +0x24 is the [[#Ipv4Address]], u32 +0x44 is the [[#SubnetMask]].


=== Cmd320 ===
=== Leave ===
No input, returns an output u32.
No input, returns an output u32.


Line 820: Line 820:
| 288 || [[#GetGroupInfo]]
| 288 || [[#GetGroupInfo]]
|-
|-
| 320 ||  
| 320 || [[#Leave]]
|}
|}