Hi Ben, I have not studied everything in detail, but from a quick browse it looks reasonable. I would make an own callback for each state though, otherwise the driver has to do a switch with subfunctions anyways. -Andi