tree: e7f5c0bd150cc92f57377305d0863d3a4b6af10e [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. cfm_dfu_notification.pc.in
  5. dfu_log_notification.cc
  6. dfu_log_notification.h
  7. dfu_log_notification_test.cc
  8. idfu_notification.cc
  9. idfu_notification.h
  10. platform2_preinstall.sh
cfm-dfu-notification/README.md

Device Firmware Update (DFU) Notification Library

Summary

The Device Firmware Update Notification Library provides APIs to be used by device updaters to notify Chrome OS of the current state of the update as it changes.

How to use

Include the library package in the ebuild system and use the package config (pc) file to set up the environment.

#include <libdfu_notification/dfu_log_notification.h> ...

DfuLogNotification notification;

notification.StartUpdate(“MyCamera”); ... notification.UpdateProgress(“MyCamera”, 20); ... notification.EndUpdate(“MyCamera”, true);