AntFr310XT: allow passing the Serial implementation from the outside