Package: modem-cmd Version: 0.0.2 When I simply command `modem-cmd /dev/ttyUSB3 AT&V` (where ttyUSB3 is my modem port). It *should* always return like below:
AT&V ACTIVE PROFILE: E1 Q0 V1 X0 &C1 &D2 &S0 \Q3 S0:000 S3:013 S4:010 S5:008 S6:002 S7:000 S8:002 S10:014 +CBST: 0,0,1 +CR: 0 +CRC: 0 +CMGF: 0 +CSDH: 0 +CNMI: 0,0,0,0,1 +IPR: 115200 +CMEE: 0 +CSMS: 0,1,1,1 ^SLCC: 0 ^SCKS: 0,1 ^SSET: 0 +CREG: 0,1 +CLIP: 0 +CAOC: 1 +COPS: 0,0,"Chunghwa Telecom",2 +CGSMS: 1 But the current version of modem-cmd will only return one line: ACTIVE PROFILE: I have traced the source code and I think it only read one line due to: http://anonscm.debian.org/cgit/collab-maint/modem-cmd.git/tree/modem-cmd.c?id=e96fdcb712da7692fe4e40a8b503e11a597240e5#n79 Any suggestion?