handleCommandClassSensorBinary method

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

Implementation

T? handleCommandClassSensorBinary(List<int> data) {
  switch (data[8]) {
    case SENSOR_BINARY_REPORT:
      return handleSensorBinaryReport(SensorBinaryReport(data));
    default:
      return unhandledCommandClass(
          COMMAND_CLASS_SENSOR_BINARY, 'COMMAND_CLASS_SENSOR_BINARY', data);
  }
}