diff --git a/lib/wire/util.js b/lib/wire/util.js index d755482f..bc1b4d59 100644 --- a/lib/wire/util.js +++ b/lib/wire/util.js @@ -73,38 +73,6 @@ var wireutil = { ) )) } -, makeDevicePropertiesMessage: function(serial, properties) { - return wireutil.envelope(new wire.DevicePropertiesMessage( - serial - , Object.keys(properties).map(function(key) { - return new wire.DeviceProperty(key, properties[key]) - }) - )) - } -, makeShellCommandMessage: function(channel, command) { - return wireutil.envelope(new wire.ShellCommandMessage( - channel - , command - )) - } -, makeShellCommandDataMessage: function(serial, seq, chunk) { - return wireutil.envelope(new wire.ShellCommandDataMessage( - serial - , seq - , chunk - )) - } -, makeShellCommandDoneMessage: function(serial) { - return wireutil.envelope(new wire.ShellCommandDoneMessage( - serial - )) - } -, makeShellCommandFailMessage: function(serial, reason) { - return wireutil.envelope(new wire.ShellCommandFailMessage( - serial - , reason - )) - } } module.exports = wireutil