Package 

Class CanFrame

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public class CanFrame
     implements Parcelable
                        
    • Constructor Summary

      Constructors 
      Constructor Description
      CanFrame(int channel, int id, int dlc, Array<byte> data, boolean extended, boolean rtr) Create a new rtr can frame.
      CanFrame(int channel, int id, int dlc, Array<byte> data, boolean extended) Create a new can frame.
      CanFrame(int channel, int instance, int id, int dlc, Array<byte> data) Create a new can frame.
      CanFrame(int channel, int id, int dlc, Array<byte> data) Create a new can frame.
      CanFrame(int channel, int id) Create a new can frame with dlc 0 and no data.
    • Method Summary

      Modifier and Type Method Description
      int describeContents()
      void writeToParcel(Parcel parcel, int flags)
      • Methods inherited from class android.os.Parcelable

        describeContents, writeToParcel
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CanFrame

        CanFrame(int channel, int id, int dlc, Array<byte> data, boolean extended, boolean rtr)
        Create a new rtr can frame.
        Parameters:
        channel - channel
        id - id
        dlc - dlc
        data - data
        extended - extended
        rtr - rtr
      • CanFrame

        CanFrame(int channel, int id, int dlc, Array<byte> data, boolean extended)
        Create a new can frame.
        Parameters:
        channel - channel
        id - id
        dlc - dlc
        data - data
        extended - extended
      • CanFrame

        CanFrame(int channel, int instance, int id, int dlc, Array<byte> data)
        Create a new can frame.
        Parameters:
        channel - channel
        instance - instance
        id - id
        dlc - dlc
        data - data
      • CanFrame

        CanFrame(int channel, int id, int dlc, Array<byte> data)
        Create a new can frame.
        Parameters:
        channel - channel
        id - id
        dlc - dlc
        data - data
      • CanFrame

        CanFrame(int channel, int id)
        Create a new can frame with dlc 0 and no data.
        Parameters:
        channel - channel
        id - id