Skip to main content
April 5, 2023
Question

Hello STM32 forum members, I'm currently working on a project where I need to interface an STM32F4 microcontroller with a SIM900 module to send TCP/IP data to a server. I was wondering if anyone here has experience with this kind of setup and could s

  • April 5, 2023
  • 2 replies
  • 998 views

..

This topic has been closed for replies.

2 replies

KDJEM.1
ST Technical Moderator
April 6, 2023

Hello @fchai.1​ ,

Try to get inspired from the available LwIP_TCP_Echo_Server example to configurate your project.

Also, for more explanation about TCP/IP, I recommend you the UM1713 Developing applications on STM32Cube with LwIP TCP/IP stack and precisely Example of TCP echo server demonstration Section.

This section can help you to Read a received packet from the Ethernet buffers and send it to the lwIP for handling.

I hope this help you!

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
JMarq.1
Associate III
May 15, 2023

Hello @fchai.1​ 

I believe you are looking for a UART serial interface where to send AT commands instead of using a TCP/IP stack like LwIP.

See the following document as an starting point:

https://www.espruino.com/datasheets/SIM900_AT.pdf

I hope it helps.