NWMUDS:PullPacket: Difference between revisions

No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| u32 Destination NodeID(normally the same as the NodeID of this device).
| u32 [[NWMUDS:Bind|BindNodeID]].
|-
|-
| 2
| 2
| OutBufSize >> 2
| 4-byte aligned MaxOutBufSize >> 2
|-
|-
| 3
| 3
| Output buffer size
| MaxOutBufSize
|}
|}


Line 47: Line 47:
|-
|-
| 3
| 3
| u16, source NodeID.
| u16, source NetworkNodeID.
|-
|-
| 4
| 4
Line 57: Line 57:


=Description=
=Description=
This receives a broadcast data frame, while connected to the UDS network. The first 0xE-bytes of the actual data-frame data is a header parsed by NWM module, the data following that is the data written to this output buffer.
This loads a previously received ''individual'' data frame from state, while connected to the UDS network. This includes all frames received from a node before the node disconnected. The input size must be >= frame_size, otherwise error 0xE10113E9 is returned.
 
The MaxOutBufSize_wordsize is clamped to 0x172(aka 0x5C8-bytes), but this field isn't really used after that. Instead it just uses MaxOutBufSize, without a size limit.