An embedded system can/uart framework.
- /cpp contains the c++ grpc server/client as well as the c++ codegen code
- /python contains a simple CLI python tool to interact with a device over uart
- /js contains the javascript grpc server/client code
- /gui contains the vuejs gui, which uses the javascript grpc server/client
Install bazel and then run
bazel run //cpp:server
To launch the backend
Install yarn, npm, and node > 13 (you also need npm unfortunately as a CLI tool uses npm for generating the protobuf files)
Go into the js directory
yarn install
yarn generate
yarn link
Then go into the gui directory and run
yarn install
yarn link telegraph
Now you are ready to build! To run as a webserver do
yarn web:serve
To run as an electron app, do
yarn electron:serve
To debug go to contexts (box icon) and click the addition symbol
Name: live
Type: dummy_device
Parameters:
This will create 3 variables that produce random values which can be graphed or monitored for debugging purposes