HL8548: Extra space inserted at start of SMS text (AT+CMGR)

I have an HL6/HL8 development kit, and I’m finding that the HL8548 inserts an extra space at the beginning of the SMS text in the response to AT+CMGR when extra parameters are enabled by AT+CSDH=1.

First, for comparison, here is a log from the HL6528, showing the outputs of AT+CMGL=“ALL” and AT+CMGR=32, after both AT+CSDH=0 and AT+CSDH=1. Note that the text “This is a test” always start in column 0, and contains 14 characters, in agreement with the final extra parameter on the +CMGR and +CMGL response lines after AT+CSDH=1.

ATI

HL6528

OK
AT+CMGF=1

OK
AT+CSDH=0

OK
AT+CMGL="ALL"

+CMGL: 32,"REC READ","+xxxxxxxxxxxx","P Mobile","15/03/03,16:10:03+00"
This is a test

OK
AT+CMGR=32

+CMGR: "REC READ","+xxxxxxxxxxxx","P Mobile","15/03/03,16:10:03+00"
This is a test

OK
AT+CSDH=1

OK
AT+CMGL="ALL"

+CMGL: 32,"REC READ","+xxxxxxxxxxxx","P Mobile","15/03/03,16:10:03+00",145,14
This is a test

OK
AT+CMGR=32

+CMGR: "REC READ","+xxxxxxxxxxxx","P Mobile","15/03/03,16:10:03+00",145,32,0,0,"+447782000800",145,14
This is a test

OK

Now, here is the output of the same commands on the HL8548. Note that this time, after AT+CSDH=1, the SMS text following the response to AT+CMGR=32 has a space inserted before it: " This is a test", and thus contains 15 characters, even though the final parameter of the +CMGR response is still 14. Is this a bug?

ATI

HL8548

OK
ATI3

RHL85xx.5.5.13.0.201501302001.x6250_1

OK
AT+CMGF=1

OK
AT+CSDH=0

OK
AT+CMGL="ALL"

+CMGL: 32,"REC READ","+xxxxxxxxxxxx","","15/03/03,16:10:03+00"
This is a test

OK
AT+CMGR=32

+CMGR: "REC READ","+xxxxxxxxxxxx",,"15/03/03,16:10:03+00"
This is a test

OK
AT+CSDH=1

OK
AT+CMGL="ALL"

+CMGL: 32,"REC READ","+xxxxxxxxxxxx","","15/03/03,16:10:03+00",145,14
This is a test

OK
AT+CMGR=32

+CMGR: "REC READ","+xxxxxxxxxxxx",,"15/03/03,16:10:03+00",145,12,0,0,"+447782000800",145,14
 This is a test

OK

Hi,
we are following this issue internally. You can contact you technical support in SWI to get more details about the progress concerning the correction…

Regards,
Moderator

Hi,
the issue has been corrected. Please contact the technical support for more info.

Thanks,
Moderator