beamylabs / beamylabs-start

5 stars 5 forks source link

First updates aiming for better examples with better docs #33

Closed AleksandarFilipov closed 3 years ago

AleksandarFilipov commented 3 years ago

Improve docs - start by fixing ecu.py

AleksandarFilipov commented 3 years ago

Root configuration/interfaces.json should be something like the example below (untested)

{
  "default_namespace": "custom_can",
  "chains": [
    {
      "device_name": "virtual",
      "namespace": "VirtualInterface",
      "type": "virtual"
    },
    {
      "namespace": "custom_can",
      "type": "udp",
      "dbc_file" : "can/custom_traffic.dbc",
      "device_name": "udp2",
      "server_port": 2001,
      "target_host": "127.0.0.1",
      "target_port": 2000
    }
  ],

  "gateway": {
    "gateway_pid": "gateway_pid",
    "tcp_socket_port": 4040
  },
  "auto_config_boot_server": {
    "target_port": 4000,
    "server_port": 4001
  },
  "grpc_server": {
    "port": 50051
  },
  "reflectors": [
  ]
}