{ "displayName": "Serial port commander", "name": "SerialPortCommander", "id": "fe93a12e-36f4-4015-8019-26b659817773", "vendors": [ { "name": "guh", "displayName": "guh GmbH", "id": "2062d64d-3232-433c-88bc-0d33c0ba2ba6", "deviceClasses": [ { "id": "540566d8-a2a6-4ce2-9a1e-a66a989e6199", "name": "serialPortOutput", "displayName": "Serial port output", "deviceIcon": "Network", "createMethods": ["user", "discovery"], "interfaces": ["outputtrigger"], "basicTags": [ "Device" ], "paramTypes": [ { "id": "ed49f7d8-ab18-4c37-9b80-1004b75dcb91", "name": "serialPort", "displayName": "Serial port", "type": "QString", "inputType": "TextLine", "defaultValue": "ttyAMA0" }, { "id": "45dfc828-f238-4263-89a3-9b35cf5dea39", "name": "baudRate", "displayName": "Baud rate", "type": "int", "defaultValue": 9600 }, { "id": "add4f7fb-1be9-4944-a420-3355b20174f9", "name": "dataBits", "displayName": "Data bits", "type": "int", "defaultValue": 8 }, { "id": "4ea8bcdf-d4c5-45a4-a54f-f10ac3f08a78", "name": "stopBits", "displayName": "Stop bits", "type": "int", "defaultValue": 0 }, { "id": "7e5d197f-0224-4c6f-8e86-0e7c867da5f1", "name": "flowControl", "displayName": "Flow control", "type": "QString", "inputType": "TextLine", "allowedValues": [ "No Flow Control", "Hardware Control", "Software Control", "Unknown Flow Control" ], "defaultValue": "No Flow Control" }, { "id": "72de1b08-2a27-49c5-90e0-8788c3ea1da3", "name": "parity", "displayName": "Parity", "type": "QString", "inputType": "TextLine", "allowedValues": [ "No Parity", "Even Parity", "Odd Parity", "Space Parity", "Mark Parity", "Unknown Parity" ], "defaultValue": "No Parity" } ], "actionTypes": [ { "id": "0b22c4d1-f5f6-4a93-aa93-660d27bf8f71", "name": "trigger", "displayName": "Trigger", "paramTypes": [ { "id": "a27ecedc-424e-49ce-8956-9dbca2feac02", "name": "outputDataArea", "displayName": "Data", "type": "QString", "inputType": "TextArea" } ] } ] }, { "id": "b4862936-e6a1-4720-b386-7292ca4d0f6d", "name": "serialPortInput", "displayName": "Serial Port Input", "deviceIcon": "Network", "createMethods": ["user", "discovery"], "interfaces": ["inputtrigger"], "basicTags": [ "Device" ], "paramTypes": [ { "id": "ed49f7d8-ab18-4c37-9b80-1004b75dcb91", "name": "serialPort", "displayName": "Serial Port", "type": "QString", "inputType": "TextLine", "defaultValue": "ttyAMA0" }, { "id": "45dfc828-f238-4263-89a3-9b35cf5dea39", "name": "baudRate", "displayName": "Baud Rate", "type": "int", "defaultValue": 9600 }, { "id": "add4f7fb-1be9-4944-a420-3355b20174f9", "name": "dataBits", "displayName": "Data Bits", "type": "int", "defaultValue": 8 }, { "id": "4ea8bcdf-d4c5-45a4-a54f-f10ac3f08a78", "name": "stopBits", "displayName": "Stop Bits", "type": "int", "defaultValue": 0 }, { "id": "7e5d197f-0224-4c6f-8e86-0e7c867da5f1", "name": "flowControl", "displayName": "Flow Control", "type": "QString", "inputType": "TextLine", "allowedValues": [ "No Flow Control", "Hardware Control", "Software Control", "Unknown Flow Control" ], "defaultValue": "No Flow Control" }, { "id": "71de1b08-2a27-49c5-90e0-8788c3ea1da3", "name": "parity", "displayName": "Parity", "type": "QString", "inputType": "TextLine", "allowedValues": [ "No Parity", "Even Parity", "Odd Parity", "Space Parity", "Mark Parity", "Unknown Parity" ], "defaultValue": "No Parity" }, { "id": "e99f55c7-0e14-45ee-b0f0-33f1d1d2e674", "name": "comparisonType", "displayName": "Comparison Type", "type": "QString", "allowedValues": [ "Is exactly", "Contains", "Contains not", "Starts with", "Ends with" ], "defaultValue": "Exactly" }, { "id": "13051bdf-3f50-41fa-abde-bc4fe0bcc4fc", "name": "inputCommand", "displayName": "Data", "type": "QString", "inputType": "TextArea", "defaultValue": "" } ], "stateTypes": [ { "id": "b98fdacc-59d7-41c4-b790-1fdca50dfb22", "name": "inputData", "displayName": "Received Data", "displayNameEvent": "received data changed", "type": "QString", "defaultValue": "" } ], "eventTypes": [ { "id": "6d7c6df6-cb61-4d9e-b0d7-37c43911ca4b", "name": "triggered", "displayName": "Command received" } ] } ] } ] }