I know that the USB 3G modems connects to computer by not one serial ports, one of it for diagnostics and for send AT commands and receive answers.
I looking for library for C/++ under linux which universal supports many USB 3G modems and give me possibilities to send AT-commands to modem while it connected via pppd.
If this library not exists I looking for standards which describes rules of creation and using this serial ports.