async function writeDevice(peripheral, serviceUuid, characteristicUuid, value, withoutResponse = false) {
  const characteristic = await this.getCharacteristic(peripheral, serviceUuid, characteristicUuid);
  return write(characteristic, value, withoutResponse);
}
@description Write specific value to requested characteristic.
@param {string} peripheral - Connected Noble peripheral.
@param {string} serviceUuid - Service UUID.
@param {string} characteristicUuid - Characteristic UUID.
@param {Array | Buffer} value - Value to send to peripheral.
@param {boolean} withoutResponse - Use "write without response" property (default false).
@returns {Promise<object>} The write value.
@example
await writeDevice({ uuid: 'peripheral' }, 'service1', 'char1')