trq_set_ack_timer()
#
Sets an acknowledgment timer for the given q_msg
message, specifying the timeout in seconds.
Prototype
time_t trq_set_ack_timer(
q_msg msg,
time_t seconds
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
The message for which the acknowledgment timer is being set. |
|
|
The timeout duration in seconds before the acknowledgment timer expires. |
Return Value
Returns the previously set acknowledgment timer value in seconds.
Notes
Use trq_test_ack_timer()
to check if the acknowledgment timer has expired.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples