Skip to content

LuaSPortSensor:pushFrame

since 1.1.0

Push a S.Port frame.

local result = sensor:pushFrame(frame)

Parameters

Name Type Required Description
frame LuaSPortFrame yes or table

Returns

result (boolean)

Examples

From the official Ethos documentation
sensor:pushFrame({module=0, band=0, rx=0, physId=0x1B, primId=0x30, appId=0x6800, value=0x80})