Trigger callback function on a received frame