You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 class insteonplm.messages.Message. The create method takes the following parameters:
rawdata: Raw byte string of data usually received from the Insteon Modem (i.e. IM class)
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.