huddly_hpk_updater: strip ANSI SGR codes from error log

Strip ANSI SGR codes (color and other graphic parameters) from the error
log.

BUG=b:145346253
TEST=Unit tests, Manual on target

Change-Id: I61be3992673a747a9bc8d0ccbe6fd9bfda565213
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/huddly-updater/+/2152386
Tested-by: Torleiv Sundre <torleiv@huddly.com>
Tested-by: Kyle Williams <kdgwill@chromium.org>
Reviewed-by: Kyle Williams <kdgwill@chromium.org>
Commit-Queue: Kyle Williams <kdgwill@chromium.org>
4 files changed
tree: 15c12de8f15b80442f243e7f1f78971e18b23c16
  1. conf/
  2. src/
  3. .gitignore
  4. Android.mk
  5. common.mk
  6. LICENSE
  7. Makefile
  8. OWNERS
  9. README.md
README.md

Huddly-updater is a utility to upgrade the huddly camera firmware.

Requirements

TODO: The GNU C library, libusb 1.0 and libudev are required.

Building

At the root of the repository,

$ make

Alternatively at Chromium OS development environment,

$ emerge-$${BOARD} huddly-updater

How to use

$ huddly-updater --help

TODO

It will also provide assistant tools to query the firmware version of the firmware installed in the huddly camera, that of a binary blob file.