es1: handle cport data in and out