carbonian-device - the Android devices on the cable
carbonian-device command [arguments]
Talks to carbonian-linkd(1). Each device is named by the id
its app made at its first run (list shows it).
- list
- The devices that are up: id, model, window size, capabilities, codecs,
where plugged.
- info ID
- What the device says about itself: manufacturer, model, Android version,
ABI, RAM, display, battery, every sensor (name, vendor, type, minimum
delay, resolution) and every camera.
- watch
- A line when a device comes (up) or goes (down).
- sensors
ID
- The names of its sensors.
- sensor ID NAME
[HZ]
- A sensor's samples (10 Hz by default), s NAME TIMESTAMP_NS V...,
switched on for as long as this runs and off after.
- torch ID
[CAMERA] [SECONDS]
- The flash of a camera (the back camera, 0, by default) on until Ctrl-C or
SECONDS; it goes off when this ends, whatever ends it.
- keys ID
- Its buttons (volume, back, ...), as k NAME down|up.
- battery
ID
- Its battery now and when it changes: b LEVEL STATUS TEMP
PLUGGED.
- ctl ID
LINE...
- One line of the control protocol, the answer printed.
- events ID
[WORD...]
- The lines the device says on its own, filtered by their first word.
carbonian-linkd(1), carbonian-screen(1)