Understanding QENG="servingcell" responses for RATs


We are having problems understanding the specification for QENG responses. From the QuecCell manual we see that when we issue " AT+QENG=“servingcell” we get a SINGLE line response if the RAT is GSM, WCMDA, LTE or TD-SCDMA.

However if the RAT is CDMA or CDMA+HDR we WILL get one line with CDMA RAT and MAY get one line with HDR RAT

Is this correct and if so how do we know there will be a second line coming to parse?

Then if the RAT is SRLTE we apparently WILL receive a CMDA RAT line and then a second LTE line

Again is this correct and if so how do we know there will be a second line coming to parse?



The response result is mainly corresponding to the PS service and CS service of the terminal equipment.CDMA supports only CS services, and HDR supports only PS data services.TD-SCDMA can support PS and CS services;But early LTE only supported PS services.
If the terminal device supports multi-mode(such as GSM、WCDMA) and the network supports CS+PS, the terminal device will camp on a cell of the corresponding network and only one output(according to AT+QENG) will be obtained.
If the terminal device supports multi-mode, and a single network supports only CS or PS, the terminal device can camp on two cells (CS domain cell and PS domain cell), and the obtained results(AT+QENG="Serving cell“) will be output in two.

Thanks - so we may get two lines? This makes parsing pretty hard?

If the terminal device supports dual registration of CS service and PS service, and is registered in CS network and PS network base station cell respectively, the terminal can obtain the information of two service cells, so it can output two results, but the terminal itself does not need hard parsing!