| Home | Trees | Indices | Help |
|
|---|
|
|
Defines the structure of response packets received from the device.
Response inherits from Command as the first
16 bytes have the same structure.
|
|||
|
__init__(self,
packet)len(packet) == Response.SIZE
|
||
|
Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
SIZE = 32Size of response packets in the SONY protocol |
||
|
rnumber = An unsigned int stored in 4 bytes starting at byte 16Response number, the command number of a command packet sent sometime before this packet was received |
||
|
code = An unsigned int stored in 4 bytes starting at byte 20Used to indicate error conditions. |
||
|
data_size = An unsigned int stored in 4 bytes starting at byte 28Used to indicate the size of the next bulk read |
||
|
|||
|
data The last 3 DWORDs (12 bytes) of data in this response packet. |
||
|
Inherited from |
|||
|
|||
len(packet) == Response.SIZE
|
|
|||
SIZESize of response packets in the SONY protocol
|
rnumberResponse number, the command number of a command packet sent sometime before this packet was received
|
codeUsed to indicate error conditions. A value of 0 means there was no error
|
data_sizeUsed to indicate the size of the next bulk read
|
|
|||
dataThe last 3 DWORDs (12 bytes) of data in this response packet. Returned as a list of unsigned integers.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Wed Nov 8 17:34:12 2006 | http://epydoc.sourceforge.net |