pdcomm_gem_equipment_clear_report_bindings
Function
Removes the binding store and restores legacy VID-to-status resolution.
PdcommStatus pdcomm_gem_equipment_clear_report_bindings(PdcommTcpEndpoint *endpoint)Succeeds only when every VID of every existing report is a registered status variable and the event directory has no variables, because the directory requires DATA bindings.
Parameters
| Name | Description |
|---|---|
endpoint | Equipment endpoint; the TCP endpoint must be Stopped. |
Returns
#PDCOMM_OK on success, also when no binding store was installed; #PDCOMM_INVALID_ARGUMENT when endpoint is NULL or an existing report or directory VID could not be resolved afterwards; #PDCOMM_BACKPRESSURE when a TCP event is staged; #PDCOMM_INVALID_STATE when the endpoint is not Stopped, is not an Equipment, or GEM communication is active; #PDCOMM_POISONED when the endpoint is poisoned.