CmdMessenger
3.0
CmdMessenger is a serial port messaging library for the Arduino
|
A command to be send by CmdMessenger More...
Public Member Functions | |
SendCommand (int cmdId) | |
Constructor. More... | |
SendCommand (int cmdId, string argument) | |
Constructor. More... | |
SendCommand (int cmdId, string[] arguments) | |
Constructor. More... | |
SendCommand (int cmdId, float argument) | |
Constructor. More... | |
SendCommand (int cmdId, double argument) | |
Constructor. More... | |
SendCommand (int cmdId, UInt16 argument) | |
Constructor. More... | |
SendCommand (int cmdId, Int16 argument) | |
Constructor. More... | |
SendCommand (int cmdId, UInt32 argument) | |
Constructor. More... | |
SendCommand (int cmdId, Int32 argument) | |
Constructor. More... | |
SendCommand (int cmdId, bool argument) | |
Constructor. More... | |
SendCommand (int cmdId, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, string argument, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, string[] arguments, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, float argument, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, double argument, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, Int16 argument, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, UInt16 argument, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, Int32 argument, int ackCmdId, int timeout) | |
Constructor. More... | |
SendCommand (int cmdId, UInt32 argument, int ackCmdId, int timeout) | |
Constructor. More... | |
void | AddArgument (string argument) |
Adds a command argument. More... | |
void | AddArguments (string[] arguments) |
Adds command arguments. More... | |
void | AddArgument (Single argument) |
Adds a command argument. More... | |
void | AddArgument (Double argument) |
Adds a command argument. More... | |
void | AddArgument (Int16 argument) |
Adds a command argument. More... | |
void | AddArgument (UInt16 argument) |
Adds a command argument. More... | |
void | AddArgument (Int32 argument) |
Adds a command argument. More... | |
void | AddArgument (UInt32 argument) |
Adds a command argument. More... | |
void | AddArgument (bool argument) |
Adds a command argument. More... | |
void | AddBinArgument (string argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (Single argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (Double argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (Int16 argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (UInt16 argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (Int32 argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (UInt32 argument) |
Adds a binary command argument. More... | |
void | AddBinArgument (bool argument) |
Adds a binary command argument. More... | |
Properties | |
int | CmdId [get, set] |
Gets or sets the command ID. More... | |
bool | ReqAc [get, set] |
Indicates if we want to wait for an acknowlegde command. More... | |
int | AckCmdId [get, set] |
Gets or sets the acknowledge command ID. More... | |
int | Timeout [get, set] |
Gets or sets the time we want to wait for the acknowledgde command. More... | |
String[] | Arguments [get] |
Gets the command arguments. More... | |
A command to be send by CmdMessenger
|
inline |
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
arguments | The arguments. |
References CommandMessenger.SendCommand.AddArguments().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
arguments | The arguments. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArguments().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Constructor.
cmdId | Command ID |
argument | The argument. |
ackCmdId | Acknowlegde command ID. |
timeout | The timeout on waiting for an acknowlegde |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Adds a command argument.
argument | The argument. |
Referenced by CommandMessenger.SendCommand.AddArgument(), and CommandMessenger.SendCommand.SendCommand().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Adds a command argument.
argument | The argument. |
References CommandMessenger.SendCommand.AddArgument().
|
inline |
Adds command arguments.
arguments | The arguments. |
Referenced by CommandMessenger.SendCommand.SendCommand().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
getset |
Gets or sets the acknowledge command ID.
the acknowledge command ID.
Referenced by CommandMessenger.CmdMessenger.SendCommand().
|
get |
Gets the command arguments.
The arguments, first one is the command ID
Referenced by CommandMessenger.CmdMessenger.SendCommand().
|
getset |
Gets or sets the command ID.
The command ID.
Referenced by CommandMessenger.CmdMessenger.SendCommand().
|
getset |
Indicates if we want to wait for an acknowlegde command.
true if request acknowledge, false if not.
Referenced by CommandMessenger.CmdMessenger.SendCommand().
|
getset |
Gets or sets the time we want to wait for the acknowledgde command.
The timeout on waiting for an acknowlegde
Referenced by CommandMessenger.CmdMessenger.SendCommand().