Create CDC listener tool
Open, Needs TriagePublic

Description

The AXIOM Remote is envisioned to communicate with the AXIOM Beta over USB and a CDC
(https://en.wikipedia.org/wiki/USB_communications_device_class) meaning simple ASCII messages are exchanged.

These messages can be received and sent over any serial console (like minicom, screen, putty, etc.) for debug purposes (from ttyACM0 typically).

Now we want to take this communication to the next level with a small tool running on the AXIOM Beta or for development purposes on a Linux PC connected to the AXIOM Remote that listens to the ASCII messages coming from the AXIOM Remote and responds to some of them accordingly to the protocol.

The protocol communication draft can be found here: https://github.com/apertus-open-source-cinema/AXIOM-Remote/blob/dev/Firmware/README.md

This task is related to T1122.

sebastian added a comment.EditedSun, May 24, 2:17 PM

<anuejn> the simplest (as in works right now) would be to use the fuse api of nCtrl
<anuejn> and then write a standalone program / script that just reads the files there
<anuejn> just dig around in /axiom-api/ on a camera runing https://github.com/apertus-open-source-cinema/axiom-firmware/pull/127/files
<anuejn> or use the webui register explorer, that has the same (file) hierarchy