At the moment I can easily do it with T0 protocol, but T1 is the only option for modern cards.
Are there any libraries that implement T1 protocol for MCUs?
Or where can I find a detailed description of the protocol itself? Googling was pretty unsuccessful for me

Generally if I want to send a certain APDU command to the smartcard, how to split it to blocks according to T1?