Currently, I am developing some embedded software for a host controller to handle setting up a data call on the WP7700 and have had some weird results. When I ssh into the WP7700 and use the Legato terminal, I am able to setup a connection every time (5 of 5). When I use microcom over the Legato terminal to send AT commands, I am able to setup a data connection every time (5 of 5). When I try to dial out with the AT command interface over UART lines from our host controller, I cannot setup the data connection (0 of 5). I can successfully set up everything and then when I try to dial out (ATD99**1#) I get an ERROR. The interesting part comes into play when I open microcom to the AT interface via the Legato terminal and then try to dial out over the UART lines, I can do so successfully. Is there something that is blocking me from dialing out over the AT command interface over the UART without being connected to the Legato terminal? Thanks for any help in advance.
you need to transfer the UART to AT port
https://source.sierrawireless.com/resources/legato/howtos/customizeuart/
I have done this and successfully sent other commands over the UART (turn on radio, check out SIM, setup PDP context, start and check GPS), but get and error response when I try to dial out to a data connection over the PDP context (ATD99**1#), but when I do the same commands over microcom when I am ssh’ed into the WP7700 I can connect without an issue.
The commands may not work via the UART using an external microcontroller. I tried to setup a TCP connection with an external microcontroller with a WP chip, but it is not enabled in the firmware. They are meant to be used as an application processor. This could be what you are running into, but need to have someone confirm?
Hi, I’m very interested in how you were able to communicate with AT commands over the main console using the microcom. Everytime I open the serial connection to my MangOH red, i’m getting logs and anytime I send something over the serial port, I’m getting basically a login prompt to open a new console session. Which interface does one use with microcom in the /dev folder to run the initiation set of AT commands to change the interface as per guided here ?
https://source.sierrawireless.com/resources/legato/howtos/customizeuart/#sthash.DjOpklXc.dpbs
thanks!
You can try “microcom /dev/ttyAT”
Thanks! I’m successful when executing AT commands but from what I see. For my application, I’m trying to setup the console USB connector as an AT command port. But when I execute the command to do that (AT!MAPUART=1,2) I get an error.
root@swi-mdm9x28-wp:~# microcom /dev/ttyAT
at
OK
AT!MAPUART=1,2
ERROR
AT!MAPUART=1,2
ERROR
AT!MAPUART=16,2
OK
Is there some restriction that UART2 cannot be setup as an AT Command interface?
Please read the AT command guide, it says “1—AT command service (Note: Not available for UART2)”