How to check if adapter works correctly?

I would like to send a command to check if local adapter by serial or remote by ser2net works correctly.
Can I do it with echo/minicom or netcat command ?
What command should I use?