How can I use the CEI-x20 API to filter received traffic by label and SDI?

This simple test program executes internally-wrapped transmissions with various combinations of SDI and label filtering selected.

When label filtering is enabled for a particular label, any words received by the hardware that contain the label in question are automatically discarded by the firmware.

Receiver SDI filtering differs slightly. When SDI filtering is enabled for a particular SDI value, any words received by the hardware that do *not* contain the SDI value in question are automatically discarded.

Label and SDI filters are configured independently for each receive channel. All label and SDI filtering is disabled by default.

Download this example by clicking the link to the attached source file, 'filter.c'.