tree: 30d44bb1fc4101536954f9209992b13ce5f5a584 [path history] [tgz]
  1. BUILD.gn
  2. cfm_dfu_notification.pc.in
  3. dfu_log_notification.cc
  4. dfu_log_notification.h
  5. dfu_log_notification_test.cc
  6. idfu_notification.cc
  7. idfu_notification.h
  8. OWNERS
  9. platform2_preinstall.sh
  10. README.md
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);