Using LCOM ports
|
Platform: |
OEM719, OEM729, OEM7500, OEM7600, OEM7700, OEM7720, PwrPak7, CPT7, CPT7700, SMART7 |
|
Firmware: |
This feature is available only on 7.10.xx firmware. |
Lua interacts with the rest of the OEM7 receiver using LCOM ports.
LCOM ports provide the same functionality as SCOM ports, however the LCOM ports consume fewer resources and do not require setup before use.
Examples:
Example of how to send data to the port in Lua:
LCOM1.write("log timeb ontime 1\r")
Example how to read from the port in a manner that will block the Lua script until data is available:
buffer = LCOM1.read()