Patrick Schurig b26274595c
Some checks failed
Build & Deploy docs / build-deploy (push) Failing after 10m17s
feat: référence API JsonRPC générée depuis introspect.json
- Nouveau générateur scripts/gen_api_reference.py : 19 namespaces →
  docs/api/metier/ (10) + docs/api/systeme/ (9) + notifications.md +
  types.md (96 types · 55 enums · 4 flags) + SUMMARY.md literate-nav
- Badges permissionScope (perm-none/control/configure/admin) dans extra.css
- Guide docs/integrations/jsonrpc-api.md (connexion TCP/WS, auth, conventions énergie)
- mkdocs.yml : Référence API dans la nav, REST→JsonRPC renommé
- mkdocs build --strict : 0 warnings · --check idempotent

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-04 08:15:37 +02:00

3.7 KiB

ModbusRtu

Méthodes

ModbusRtu.AddModbusRtuMaster

ADMIN

Add a new modbus RTU master with the given configuration. The timeout value is in milli seconds and the minimum value is 10 ms.

Paramètres :

Champ Type Notes
baudrate Uint
dataBits SerialPortDataBits
numberOfRetries Uint
parity SerialPortParity
serialPort String
stopBits SerialPortStopBits
timeout Uint

Retour :

Champ Type Notes
modbusError ModbusRtuError
modbusUuid Uuid optionnel

ModbusRtu.GetModbusRtuMasters

ADMIN

Get the list of configured modbus RTU masters.

Paramètres :

Aucun paramètre.

Retour :

Champ Type Notes
modbusError ModbusRtuError
modbusRtuMasters ModbusRtuMaster[] optionnel

ModbusRtu.GetSerialPorts

ADMIN

Get the list of available serial ports from the host system.

Paramètres :

Aucun paramètre.

Retour :

Champ Type Notes
serialPorts SerialPorts

ModbusRtu.ReconfigureModbusRtuMaster

ADMIN

Reconfigure the modbus RTU master with the given UUID and configuration.

Paramètres :

Champ Type Notes
baudrate Uint
dataBits SerialPortDataBits
modbusUuid Uuid
numberOfRetries Uint
parity SerialPortParity
serialPort String
stopBits SerialPortStopBits
timeout Uint

Retour :

Champ Type Notes
modbusError ModbusRtuError

ModbusRtu.RemoveModbusRtuMaster

ADMIN

Remove the modbus RTU master with the given modbus UUID.

Paramètres :

Champ Type Notes
modbusUuid Uuid

Retour :

Champ Type Notes
modbusError ModbusRtuError

Notifications

ModbusRtu.ModbusRtuMasterAdded

Emitted whenever a new modbus RTU master has been added to the system.

Paramètres :

Champ Type Notes
modbusRtuMaster ModbusRtuMaster

ModbusRtu.ModbusRtuMasterChanged

Emitted whenever a modbus RTU master has been changed in the system.

Paramètres :

Champ Type Notes
modbusRtuMaster ModbusRtuMaster

ModbusRtu.ModbusRtuMasterRemoved

Emitted whenever a modbus RTU master has been removed from the system.

Paramètres :

Champ Type Notes
modbusUuid Uuid

ModbusRtu.SerialPortAdded

Emitted whenever a serial port has been added to the system.

Paramètres :

Champ Type Notes
serialPort SerialPort

ModbusRtu.SerialPortRemoved

Emitted whenever a serial port has been removed from the system.

Paramètres :

Champ Type Notes
serialPort SerialPort