typeUartBehaviour
Origin of the behaviour of an external serial device (Internal.Devices.PartialUartDevice)
Information
Explicit selector rather than an implicit precedence rule between commandTable and scriptPath: OMEdit renders an enumeration as a drop-down list, and the Dialog(enable = ...) of the model grey out the group of parameters that no longer applies. The ambiguous case "both are filled in" therefore cannot happen.
Table: the device answers according to commandTable, echoEnabled and periodicTemplate. Script: the Python script scriptPath describes the behaviour through its handlers (on_receive, on_tick, outputs) — see requirements.md, decision "Périphériques UART externes connectables".
Literals
| Name | Description |
|---|---|
| Table | Command table (parameters) |
| Script | Python script (handlers) |