MCPcopy Create free account
hub / github.com/XCSoar/XCSoar / write

Method write

android/src/HM10Port.java:247–255  ·  view source on GitHub ↗
(byte[] data, int length)

Source from the content-addressed store, hash-verified

245 }
246
247 @Override
248 public int write(byte[] data, int length) {
249 if (0 == length)
250 return 0;
251
252 return writeBuffer.write(gatt, dataCharacteristic,
253 deviceNameCharacteristic,
254 data, length);
255 }
256
257 protected final void stateChanged() {
258 PortListener portListener = this.portListener;

Callers

nothing calls this directly

Calls 1

writeMethod · 0.65

Tested by

no test coverage detected