added command support to i2c-slave impl.