Package ixxat :: Package j1939api :: Module J1939api :: Class J1939Message
[hide private]
[frames] | no frames]

Class J1939Message

source code

object --+
         |
        J1939Message

Definition of a J1939 message "struct" for transmission and reception.

Instance Methods [hide private]
 
__init__(self, pgn=0, prio=6, remote=0, mtype=MSGTYPE_DATA, lParam=[])
Optional initialization attributes:
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, pgn=0, prio=6, remote=0, mtype=MSGTYPE_DATA, lParam=[])
(Constructor)

source code 

Optional initialization attributes:

Parameters:
  • pgn - Parameter Group Number of the message (e.g. 65213)
  • prio - message priority (default: 6)
  • remote - remote device address/handle (default: 0 (global))
  • mtype - message type (default: MSGTYPE_DATA)
  • lParam - list of parameters according to the 'pgn'
Returns:
instance of the class J1939Message
Overrides: object.__init__