TransportResponseFactory Method |
Response message object instance factory.
Namespace: IO.Objects.LPC1114IOPAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2026.331.1
Syntaxpublic static libspiagentSPIAGENT_RESPONSE_MSG_t ResponseFactory(
SPIAGENT_COMMAND_t command = SPIAGENT_COMMAND_t.SPIAGENT_CMD_NOP,
uint pin = 0,
uint data = 0,
uint error = 0
)
Parameters
- command SPIAGENT_COMMAND_t (Optional)
- Command number.
- pin UInt32 (Optional)
- Pin number.
- data UInt32 (Optional)
- Response data.
- error UInt32 (Optional)
- errno Error number.
Return Value
libspiagentSPIAGENT_RESPONSE_MSG_tResponse message object instance.
See Also