NWMUDS:PullPacket: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| Line 47: | Line 47: | ||
| |- | |- | ||
| | 3 | | 3 | ||
| | u16, source  | | u16, source NetworkNodeID. | ||
| |- | |- | ||
| | 4 | | 4 | ||
Revision as of 19:15, 2 April 2016
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x001400C0] | 
| 1 | u32 NodeID which was used with NWMUDS:Bind by this device. | 
| 2 | OutBufSize >> 2 | 
| 3 | Output buffer size | 
The following is located 0x100-bytes after the beginning of the above command buffer:
| Index Word | Description | 
|---|---|
| 0 | (OutBufSize<<14) | 2 | 
| 1 | Pointer to the output buffer | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
| 2 | Actual data size | 
| 3 | u16, source NetworkNodeID. | 
| 4 | (OutBufSize<<14) | 2 | 
| 5 | Pointer to the output buffer | 
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.