[fix] apigenlib:  Fixed read_packet again.