If you reset the check engine light before the smog test you will have also cleared the "emission monitors". The emission monitors, also known as readiness flags, are required in order to pass the smog inspection. The only way to set the emission monitors is to drive your Camry for at least a week; in which time the check engine light will probably re-illuminate.
posted by SmogTips Support