i2c hanlder and const