encoder sends three packets