if (options.username === undefined || options.password === undefined || options.serial === undefined) {
            throw new Error('Missing options');
        }