RSP_postMessage

Name

RSP_postMessage -- Send graph and module data to RSPD.

Synopsis

int RSP_postMessage(RSP_moduleBackend *mod);

Description

Sends your module's current data and graph data (if any) to the RSPD. Must be called each time you want to update the RSPD with your current status. The module and graph data should have already been set with RSP_giveData and RSP_giveGraphData.

Returns

This function returns -1 if an error occurred, and 0 otherwise.

Error Conditions

If an error occurs, -1 will be returned and rsp_error will be set to the following error code: