added filtering functionality for antweight firmware