Truncated response to Cellular.command on Boron

Hi there,

I’m using the Cellular.command call to send AT commands (Boron LTE w/ Sara 410).

Right now, I’m just trying to print raw responses to those commands in my callback function. So far, I reliably get responses, but I don’t seem to get the full response in some cases. As far as I can tell, I’m only ever getting a single line of the AT response, while I would expect multiple lines of response to certain calls based on my reading of the data sheet.

For example when I enter AT+CREG?, I expect to see something along the lines of:
+CREG: 0,0


But I only see the “OK” line.
Similarly, when I call AT+UCGED? (After setting mode to 5) I get only:
“+RSRP: 052,5110,”-088.60","

(I don’t see an RSRQ value or “OK”)

Am I misreading the data sheet here? Should I be expecting multiple lines of response?
Am I taking the right approach using the Cellular.command function?


Solved this…

I added “return WAIT” to my callback and now I get the multiple calls.