Skip to content
Start free evaluation

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)

Declared in: #include <pdcomm_gem_data.h>

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

NameDescription
endpointEquipment 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.