The Packet type exposes the following members.

Constructors

  NameDescription
PacketOverloaded.

Methods

  NameDescription
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Send
Send the packet to a stream.
ToByteArray
Convert the packet to a byte array.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
MAX_DATA_BYTES
Maximum number of bytes that can be transmitted in the data portion of a packet.
mCommandCode
The command being referenced by the packet.
mData
The data stored in the packet.
mDirection
The direction of the packet.
mIicAddress
The address of the IIC module referenced by the packet.

Properties

  NameDescription
CommandCode
Gets the command being referenced by the packet.
Data
Gets the data stored in the packet.
Direction
Gets the direction of the packet.
IicAddress
Gets the address of the IIC module referenced by the packet.
Length
Gets the length of the data stored in the packet + 1 byte for the command.

See Also