Would it be possible to implement this as a single PIN callback function using the current infrastructure? I.e., move everything you wrote into a single function? jakob