DEV Community

Dimitrios Desyllas
Dimitrios Desyllas

Posted on

1 1

Is a good idea by Scanning all Serial Ports and sent ATZ At command in order to scan for a modem?

As I ask at Stackoverflow:

I need to implement an application that scans serial ports and detects a modem. Therefore, I searched for existing examples in Open - Libre Software that this functionality is performed.

An example is in this piece of software: https://sourceforge.net/projects/simplecallerid/ Via svn I downloaded the code and I found this method:

I need to detect all serial ports in order to detect a modem. At the provided software is from an Open-Source project that does that and I need to know whether this approach is a rather good to adopt or it may have some mishaps.

Top comments (0)

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay