handleCommandClassMeter method

T? handleCommandClassMeter(
  1. List<int> data
)
inherited

Implementation

T? handleCommandClassMeter(List<int> data) {
  switch (data[8]) {
    case METER_REPORT:
      return handleMeterReport(MeterReport(data));
    default:
      return unhandledCommandClass(
          COMMAND_CLASS_METER, 'COMMAND_CLASS_METER', data);
  }
}