USB modem huawei with micro-controller

EmbeedSystem

Prominent
Jul 26, 2017
2
0
510
I have a Huawei USB modem MU 709-s2 that I interface with a STM32F407 Microcontroller.
I’m trying to get PPP working. To do that, I followed the manual of my modem to send the AT commands.
I successfully configured everything. Except that I’m getting garbage after “ATD” . I get the response CONNECT 21600000, then after a moment, I get something like this: ~ÿ}#À!}!} } }4}"}&} } } } }'}"}(...".
What’s the meaning of this garbage?
I want to get the IP address after connection, so I tried to send the AT command to do that, but I get no answer, it seems that the modem can’t respond after connection.
Do you have an idea what’s the next step to do please?

Best regards,
 
Thank you Alabalcho,
I want to send an AT command after connection to get the IP adress. Then use this adress IP to cuommunicate with a server and my STM32F4.
Best regards,