Unosquare
    Show / Hide Table of Contents

    Class Command

    Represents a command or request for fingerprint device.

    Inheritance
    System.Object
    MessageBase
    PacketBase
    Command
    Inherited Members
    PacketBase.BasePacketLength
    PacketBase.Parameter
    PacketBase.HasDataPacket
    MessageBase.Payload
    MessageBase.StartCode1
    MessageBase.StartCode2
    MessageBase.DeviceId
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Unosquare.Sparkfun.FingerprintModule
    Syntax
    public class Command : PacketBase

    Constructors

    Command(CommandCode, Int32)

    Initializes a new instance of the Command class.

    Declaration
    protected Command(CommandCode commandCode, int parameter)
    Parameters
    Type Name Description
    CommandCode commandCode

    The command code.

    System.Int32 parameter

    The parameter.

    Command(CommandCode, Int32, Byte[])

    Initializes a new instance of the Command class.

    Declaration
    protected Command(CommandCode commandCode, int parameter, byte[] data)
    Parameters
    Type Name Description
    CommandCode commandCode

    The command code.

    System.Int32 parameter

    The parameter.

    System.Byte[] data

    A byte array representing the data for a Unosquare.Sparkfun.FingerprintModule.CommandDataPacket.

    Properties

    CommandCode

    Gets the command code.

    Declaration
    public CommandCode CommandCode { get; }
    Property Value
    Type Description
    CommandCode

    See Also

    PacketBase

    Comments

    Back to top Copyright © 2017-2019 Unosquare