-
Notifications
You must be signed in to change notification settings - Fork 19
Messages
Tom Harris edited this page Jun 12, 2018
·
1 revision
The insteonplm.messages
module contains the factory method to create an Insteon Message and the Message classes. The insteonplm.messages
module has the following public methods:
-
create: Factory method to create a message class from a raw byte string.The
create
method returns a concrete class of the abstract classinsteonplm.messages.Message
. Thecreate
method takes the following parameters:-
rawdata: Raw byte string of data usually received from the Insteon Modem (i.e.
IM
class)
-
rawdata: Raw byte string of data usually received from the Insteon Modem (i.e.
-
isComplete: Tests if the raw byte string is long enough to contain the entire message. The
isComplete
method takes the following parameters:- rawdata: Raw byte string of data representing the message.
Startup Process
IM Class
-
PLM Class
-
Hub Class