There is not enough documentation for ODBC in FireBird4 yet.
I needed an ODBC source for FireBird4 for my work with Microsoft PowerBI.
I developed something like this. When you open the .DLL File as a Client on FireBird2 Driver, FireBird 4 connection can be made.