Hi Adam,
For modem configuration, using a basic serial port terminal is enough.
That's the way I do configuration.
Once configuration is finished
AT&W sent from the serial port terminal saves my setting into modem.
The problem I noticed is that when the master is runing, the serial port is busy since it must stay open by the master.
I've also seen that the serial port is managed thanks to ASIO library.
The main idea is to do something like this :
1 - // Connect via Serial port to a outstation
auto pChannel = manager.AddSerial("serialclient", FILTERS, TimeDuration::Seconds(5), TimeDuration::Seconds(5),SerialSettings);
2 - Send the following command through ASIO to make a data call :
Exemple
ATD0617120387
This string command will dial a phone number and when the call succed, we get a return string "CONNECT 9600"
3// Create a new master on a previously declared port, with a
// name, log level, command acceptor, and config info. This
// returns a thread-safe interface used for sending commands.
auto pMaster = pChannel->AddMaster(
"master", // id for logging
PrintingSOEHandler::Instance(), // callback for data processing
asiodnp3::DefaultMasterApplication::Instance(), // master application instance
stackConfig // stack configuration
);
...
Mekki