use of nodomain.freeyourgadget.gadgetbridge.service.devices.pebble.PebbleSupport in project Gadgetbridge by Freeyourgadget.
the class DeviceSupportFactory method createTCPDeviceSupport.
private DeviceSupport createTCPDeviceSupport(GBDevice gbDevice) throws GBException {
try {
DeviceSupport deviceSupport = new ServiceDeviceSupport(new PebbleSupport(), EnumSet.of(ServiceDeviceSupport.Flags.BUSY_CHECKING));
deviceSupport.setContext(gbDevice, mBtAdapter, mContext);
return deviceSupport;
} catch (Exception e) {
// FIXME: localize
throw new GBException("cannot connect to " + gbDevice, e);
}
}
Aggregations