Class CogNamerPacket

java.lang.Object
com.cognex.cmbsdk.cognamer.CogNamerNode
com.cognex.cmbsdk.cognamer.packets.CogNamerPacket
Direct Known Subclasses:
BootupPacket, FactoryResetPacket, FlashPacket, GetAttributePacket, HelloPacket, IdentifyPacket, IpAssignPacket, NoopPacket, QueryCachePacket, ResetPasswordPacket, RestartPacket, SetAttributePacket

public class CogNamerPacket extends CogNamerNode
  • Field Details

    • mFlags

      protected int mFlags
    • mCommand

      protected int mCommand
    • mError

      protected int mError
    • mLength

      protected int mLength
  • Method Details

    • getFlags

      public int getFlags()
    • setFlags

      public void setFlags(int flags)
    • getCommand

      public int getCommand()
    • getError

      public int getError()
    • setError

      public void setError(int error)
    • getLength

      public int getLength()
    • getRecords

      public ArrayList<CogNamerRecord> getRecords()
    • createPacketBuffer

      public byte[] createPacketBuffer()
    • fromBytes

      public static CogNamerPacket fromBytes(byte[] buffer, int length)