Merge branch 'hplus-unicode-only-first-bytes'

This commit is contained in:
João Paulo Barraca
2017-10-15 14:28:56 +01:00
@@ -840,7 +840,9 @@ public class HPlusSupport extends AbstractBTLEDeviceSupport {
LOG.error("Could not convert String to Bytes: " + e.getMessage());
}
}
for (int j = 0; j < cs.length; j++)
final int j0 = (unicode && i != 0) ? 2 : 0;
for (int j = j0; j < cs.length; j++)
outBytes.add(cs[j]);
}