add checksum byte04 and frame resend behavior