TxCode class
A message containing only the msgCode and a single optional byte suitable for signalling the frameside app to take some action (e.g. toggle streaming, take a photo with default parameters etc.)
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pack(
) → Uint8List -
pack() should produce a message data payload that can be parsed by a corresponding
parser in the frameside application (Lua)
TxMsg needs to know its own message code, but it is not included in the payload bytes
returned by pack; the 0x01 data byte and the msgCode byte are
prepended to each bluetooth write() call by the sendDataRaw method,
followed by the maximum amount of payload data that will fit until the whole message is sent.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited