pub_beginMessage

Indicates to the publisher that a new message is being built.

This method must be called before setting any of the fields on the message.

Syntax

uint16_t pub_beginMessage( uint16_t message_type,  PUB_SEND_MESSAGE_CONTEXT * msg ).

Parameters

Returns

uint16_t error_code

An error code or ERR_NONE (value 0).

Related concepts
Functions to Send Messages