Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 943 Bytes

File metadata and controls

33 lines (22 loc) · 943 Bytes

Car5g

Example application

The sample application subscribes to a few signals and dispatches them to a given server (some.host:2017) with a given time intrvall. Subscription is done using gRPC to the sinalbroker. gRPC host address is "localhost:50051" which currently assumes that this app runs on them same machine as the signalbroker.

The subscribed signals are then dispatched every 100ms to some_host:2017.

diagram

Installation, configuration

start the server and make sure it uses configuration file:

Running

Copy the car5g folder to the host and start the app from the car5g folder using

iex -S mix

or

mix run --no-halt

Reference: generation of the ex files from the proto files:

from this folder

protoc -I ../../../../proto_files/  --elixir_out=plugins=grpc:./lib/generated_proto_files ../../../../proto_files/*.proto