Put a message into the Message Queue and wait a maximum time of Timeout ms until the message has been picked up. If the queue already contains a message that originates from another host MSGQ_COLLISION_ERR is returned; the message must be removed from the queue first with the Receive command. If the message is not picked up from another host within Timeout ms MSGQ_NOTACKED_TIMEOUT_ERR is returned.
- Parameters
-
[in] | protocol | used to execute the command |
[in] | SendMsg | Message to send. |
[in] | SendMsg_len | |
[in] | Timeout | Max. time (in ms) to wait for message pickup. |