[ { "id": "1e0b8589e69c75ee", "type": "tab", "label": "Basic", "disabled": false, "info": "", "env": [] }, { "id": "76b5438568db5461", "type": "serial in", "z": "1e0b8589e69c75ee", "name": "", "serial": "d56a1d37b95bd5ba", "x": 250, "y": 180, "wires": [ [ "5bb6c1b2c01dc62b" ] ] }, { "id": "08dd0a2fa8325f21", "type": "serial in", "z": "1e0b8589e69c75ee", "d": true, "name": "", "serial": "a4af84c748f60b76", "x": 240, "y": 440, "wires": [ [ "91125bf8355ba8ca", "19fb4ee379641c56" ] ] }, { "id": "03072fc8e3c10aa6", "type": "debug", "z": "1e0b8589e69c75ee", "name": "Debug", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 670, "y": 380, "wires": [] }, { "id": "19fb4ee379641c56", "type": "serial out", "z": "1e0b8589e69c75ee", "name": "", "serial": "a3f991a012152bc9", "x": 700, "y": 440, "wires": [] }, { "id": "34f39b2ed2b539ac", "type": "serial out", "z": "1e0b8589e69c75ee", "d": true, "name": "", "serial": "a4af84c748f60b76", "x": 900, "y": 180, "wires": [] }, { "id": "129a0d46ed910919", "type": "debug", "z": "1e0b8589e69c75ee", "name": "Debug", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 670, "y": 280, "wires": [] }, { "id": "91125bf8355ba8ca", "type": "command-parser", "z": "1e0b8589e69c75ee", "name": "", "x": 450, "y": 380, "wires": [ [ "03072fc8e3c10aa6" ] ] }, { "id": "5bb6c1b2c01dc62b", "type": "sbf-parser", "z": "1e0b8589e69c75ee", "name": "", "x": 420, "y": 180, "wires": [ [ "dd6b3844dd5544dc", "129a0d46ed910919", "602a06c497018dad", "5ffe7ec6e2bb5921" ] ] }, { "id": "dd6b3844dd5544dc", "type": "receiver-state", "z": "1e0b8589e69c75ee", "name": "", "x": 700, "y": 120, "wires": [] }, { "id": "602a06c497018dad", "type": "sbf-encoder", "z": "1e0b8589e69c75ee", "name": "", "x": 690, "y": 180, "wires": [ [ "34f39b2ed2b539ac" ] ] }, { "id": "69bea7aa13451643", "type": "inject", "z": "1e0b8589e69c75ee", "name": "Activate", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 250, "y": 540, "wires": [ [ "ca9063646af184bf" ] ] }, { "id": "8a964afe97b4723a", "type": "inject", "z": "1e0b8589e69c75ee", "name": "Activate", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 250, "y": 580, "wires": [ [ "bebec2fdf03552b9" ] ] }, { "id": "ca9063646af184bf", "type": "send-sbf-command", "z": "1e0b8589e69c75ee", "name": "On", "sbf_command": "sso, Stream1, USB1, PVTCart+PVTGeod+Status+Support, msec100 ", "x": 410, "y": 540, "wires": [ [ "19fb4ee379641c56" ] ] }, { "id": "bebec2fdf03552b9", "type": "send-sbf-command", "z": "1e0b8589e69c75ee", "name": "Off", "sbf_command": "sso, Stream1, USB1, PVTCart+PVTGeod+Status+Support, off ", "x": 410, "y": 580, "wires": [ [ "19fb4ee379641c56" ] ] }, { "id": "5ffe7ec6e2bb5921", "type": "function", "z": "1e0b8589e69c75ee", "name": "Filter messages", "func": "if(msg.blockName == \"ReceiverStatus\"){\n return msg;\n}\n", "outputs": 1, "timeout": 0, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 700, "y": 240, "wires": [ [ "f39358a59f1b7d03" ] ] }, { "id": "f39358a59f1b7d03", "type": "debug", "z": "1e0b8589e69c75ee", "name": "Debug", "active": false, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 890, "y": 240, "wires": [] }, { "id": "82573bdf82a7af62", "type": "send-sbf-command", "z": "1e0b8589e69c75ee", "name": "Force", "sbf_command": "SSSSSSSSSS", "x": 410, "y": 500, "wires": [ [ "19fb4ee379641c56" ] ] }, { "id": "fdb9a06de424f810", "type": "inject", "z": "1e0b8589e69c75ee", "name": "Activate", "props": [ { "p": "payload" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 250, "y": 500, "wires": [ [ "82573bdf82a7af62" ] ] }, { "id": "d56a1d37b95bd5ba", "type": "serial-port", "name": "Mosaic ACM0", "serialport": "/dev/ttyACM0", "serialbaud": "115200", "databits": 8, "parity": "none", "stopbits": 1, "waitfor": "", "dtr": "none", "rts": "none", "cts": "none", "dsr": "none", "newline": "1", "bin": "bin", "out": "count", "addchar": "", "responsetimeout": 10000 }, { "id": "a4af84c748f60b76", "type": "serial-port", "name": "Computer", "serialport": "/dev/ttyUSB0", "serialbaud": "115200", "databits": 8, "parity": "none", "stopbits": 1, "waitfor": "", "dtr": "none", "rts": "none", "cts": "none", "dsr": "none", "newline": "\\n", "bin": "false", "out": "char", "addchar": "", "responsetimeout": 10000 }, { "id": "a3f991a012152bc9", "type": "serial-port", "name": "Mosaic ACM1", "serialport": "/dev/ttyACM1", "serialbaud": "115200", "databits": 8, "parity": "none", "stopbits": 1, "waitfor": "", "dtr": "none", "rts": "none", "cts": "none", "dsr": "none", "newline": "", "bin": "false", "out": "count", "addchar": "", "responsetimeout": 10000 } ]