blob: 89defda5505f18f38ff13f5da55f1ad92c9b19b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package org.reprap.comms.messages;
import org.reprap.comms.OutgoingMessage;
/**
* The VersionMessage is supported by all devices
*/
public class VersionRequestMessage extends OutgoingMessage {
/**
*
*/
public static final int MSG_GetVersion = 0;
/* (non-Javadoc)
* @see org.reprap.comms.OutgoingMessage#getBinary()
*/
public byte[] getBinary() {
byte message[] = new byte [] {MSG_GetVersion};
return message;
}
}
|