pub_shutdown

Disconnects from the network and discards any resources being used by the publisher API.

This method is called when the feed handler is finished using the publisher API.

Syntax

uint16_t pub_shutdown( bool flush );

Parameters

Returns

uint16_t error_code
An error code or ERR_NONE (value 0).
Related concepts
main() method stub
Initialization
Related tasks
Developing the main() Method in a Stub