matchesDeviceType static method

bool matchesDeviceType(
  1. DiscoveredDevice device
)

Determine whether this class matches the device type of the given device

Implementation

static bool matchesDeviceType(DiscoveredDevice device) {
  return device.name == 'MIBFS' &&
      device.serviceData.length == 1 &&
      device.serviceData.values.first.length == 13;
}