I2C slave protocol

Ok weird

the handler is called without any reference to the loop AFAIK

are you answering from the handler or just setting a flag and capturing that in the loop?