pub_initialize

Initializes the publisher API.

Call this method before any other API in the publisher API, and call it only once. Set the constant startup.version = PUB_STARTUP_VERSION before calling pub_initialize.

Syntax

uint16_t pub_initialize( PUB_STARTUP * startup_settings );

Parameters

Returns

uint16_t error_code

An error code or ERR_NONE (value 0).

Related reference
Publisher API Data Structures