NWMUDS:Bind: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
Line 15: Line 15:
|-
|-
| 3
| 3
| u8, unknown.
| u8 data_channel
|-
|-
| 4
| 4
Line 39: Line 39:
| Output event handle. This is signaled every time data becomes available via [[NWMUDS:PullPacket]].
| Output event handle. This is signaled every time data becomes available via [[NWMUDS:PullPacket]].
|}
|}
=Data Channel=
This is an arbitrary value to use for data-frame filtering. This bind will only receive data frames which contain a matching data_channel value.


=Description=
=Description=
This initializes a [[NWM_Services|BindNodeID]] for use on this device, etc. This can be done multiple times for initializing different BindNodeIDs.
This initializes a [[NWM_Services|BindNodeID]] for use on this device, etc. This can be done multiple times for initializing different BindNodeIDs.

Revision as of 00:36, 9 April 2016

Request

Index Word Description
0 Header code [0x00120100]
1 BindNodeID
2 u32, unknown.
3 u8 data_channel
4 u16 NetworkNodeID probably. Likely for controlling which device this BindNodeID can communicate with, or all of them when the broadcast alias is used.

Response

Index Word Description
0 Header code
1 Result code
2 Value 0x0, handle transfer translate-header.
3 Output event handle. This is signaled every time data becomes available via NWMUDS:PullPacket.

Data Channel

This is an arbitrary value to use for data-frame filtering. This bind will only receive data frames which contain a matching data_channel value.

Description

This initializes a BindNodeID for use on this device, etc. This can be done multiple times for initializing different BindNodeIDs.