Changeset 141


Ignore:
Timestamp:
09/20/2008 12:13:59 PM (5 years ago)
Author:
kascade
Message:

add j2534 support

Location:
trunk
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/romraider/io/j2534/api/J2534.java

    r140 r141  
    1616    int startPassMsgFilter(int channelId, byte mask, byte pattern); 
    1717 
    18     void writeMsgs(int channelId, byte[] data); 
     18    void writeMsg(int channelId, byte[] data); 
    1919 
    20     byte[] readMsgs(int channelId); 
     20    // FIX - Needs to return msg type, etc. Create Response object. 
     21    byte[] readMsg(int channelId); 
    2122 
    2223    void stopMsgFilter(int channelId, int msgId); 
  • trunk/src/com/romraider/io/j2534/api/TestJ2534.java

    r140 r141  
    2525 
    2626                    byte[] ecuInit = {(byte) 0x80, (byte) 0x10, (byte) 0xF0, (byte) 0x01, (byte) 0xBF}; 
    27                     api.writeMsgs(channelId, ecuInit); 
     27                    api.writeMsg(channelId, ecuInit); 
    2828 
    2929                } finally { 
  • trunk/src/com/romraider/io/j2534/op20/J2534OpenPort20.java

    r140 r141  
    7979    } 
    8080 
    81     public void writeMsgs(int channelId, byte[] data) { 
     81    public void writeMsg(int channelId, byte[] data) { 
    8282        PassThruMessage msg = passThruMessage(data); 
    8383        int[] pNumMsgs = {1}; 
     
    8686    } 
    8787 
    88     public byte[] readMsgs(int channelId) { 
     88    public byte[] readMsg(int channelId) { 
    8989        PassThruMessage msg = passThruMessage(); 
    9090        int[] pNumMsgs = {1}; 
Note: See TracChangeset for help on using the changeset viewer.