master
writeDevice
async function writeDevice(peripheral, serviceUuid, characteristicUuid, value, withoutResponse = false) {