Indicates to the publisher to cancel a message that was being built.
This method is called after
beginMessage to
free any resources being used by the message context.
Syntax
uint16_t pub_cancelMessage( PUB_SEND_MESSAGE_CONTEXT * msg );
Parameters
-
PUB_SEND_MESSAGE_CONTEXT * msg –
The message context for the message being built.
Returns
uint16_t error_code
An error code or ERR_NONE (value 0).