In my current project I should obtain the current status of a modem - CD, CTS, DTR, etc. Could anyone give me a hint of how to do that?