There is the big problem with serial port modems.
Because of only one program can occupy the serial port.
For example, I need sms server running while my GUI need additional info about sim/net/operator/signal and other information.
So there is no any decision eccept of running multiplexing (if kernel&modem allow this feature).
I think will be good idea to add some tcp server inside of you smstools, wich can be used for comunication with modem.
The other (maybe simple) way: add to your config at commands wich your smstool will send every X seconds and cache the replies.
Atfer this, cached replies can be provided to any clients.
« Last edit by simark1979 on Sun Feb 24, 2019 19:17, 27 months ago. »