Remove old api that using i2c. Add interface to allow the compatibily with old api.