brew install wine
cd ~/.wine/drive_c/LFS
wine LFS.exe
brew install wine
MessageRequest msgRequest = new MessageRequest();
msgRequest.setMessage("/press 3"); // turns on and off the headlights
client.send(msgRequest);
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/">
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<param name="ConversionPattern"
value="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/>
</layout>
</appender>
<logger name="com.mypackage">
<level value="debug"/>
</logger>
<root>
<priority value ="info"/>
<appender-ref ref="STDOUT"/>
</root>
</log4j:configuration>
public byte getResultPosition() {
return resultPosition;
}
public int getResultPosition() {
return resultPosition & 0xFF;
}