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
-
bool flush –
Indicates whether any buffered messages should
be sent before disconnecting.
Returns
uint16_t error_code
An error code or ERR_NONE (value 0).