Package libprs500 :: Module prstypes :: Class LongCommand
[hide private]
[frames] | no frames]

Class LongCommand

source code


A Command whoose data section is 16 bytes long

Instance Methods [hide private]
  __init__(self, number=0x00, type=0x00, command=0x00)

Inherited from TransferBuffer: __add__, __getslice__, __str__, pack, unpack

Inherited from TransferBuffer (private): _normalize

Inherited from list: __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __gt__, __hash__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setitem__, __setslice__, append, count, extend, index, insert, pop, remove, reverse, sort

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__


Class Methods [hide private]

Inherited from TransferBuffer: phex


Class Variables [hide private]
  SIZE = 32
Size in bytes of LongCommand packets

Inherited from Command: length, number, type


Properties [hide private]
  command
Usually carries extra information needed for the command It is a list of unsigned integers of length between 1 and 4.

Inherited from Command: data

Inherited from object: __class__


Method Details [hide private]

__init__(self, number=0x00, type=0x00, command=0x00)
(Constructor)

source code 
Parameters:
Overrides: Command.__init__

Class Variable Details [hide private]

SIZE

Size in bytes of LongCommand packets
Value:
32                                                                    
      

Property Details [hide private]

command

Usually carries extra information needed for the command It is a list of unsigned integers of length between 1 and 4. 4 unsigned int stored in 16 bytes at byte 16.
Get Method:
unreachable.fget(self)
Set Method:
unreachable.fset(self, val)
Delete Method:
None