Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

FreeRTOS+TCP

Posted by jhawakhar on September 18, 2017

How to use FreeRTOS+TCP on STM32F0 with 2G/3G GSM Modem(not with ethernet) connected through UART, is there any poratble solution available. Thanks in advance


FreeRTOS+TCP

Posted by heinbali01 on September 18, 2017

I don't know if there is an available solution. I never worked with 2G/3G GSM Modems yet.

There is a FreeRTOS+TCP porting guide

When you have particular questions about implementation details, you can ask them in this thread.


FreeRTOS+TCP

Posted by jhawakhar on September 18, 2017

Thanks for your response Hein Tibosch. I am trying to send data to server using GPRS(simcom800) which is connected with STM32F091rc with the help of freeRTOS+TCP stack. Is it possible if so, how to set APN,IP,PORT using freertos stack is there any example available please provide us. I've tried FREERTOS+TCP tutorial provided at http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusTCP/TCPNetworkingTutorialAddingSource_Files.html but still can't figure it. Thanks in advance


FreeRTOS+TCP

Posted by heinbali01 on September 18, 2017

Hi Jhawakhar, I am googling "simcom800", and I get the impression that given chip has it's own TCP/IP stack. Could that be true?

Could the following AT-session be done?

~~~ AT+CIPSTART=”TCP”,”116.228.221.51”,“8500” OK CONNECT OK ~~~

I found the conversation here.

If so, you do not need FreeRTOS+TCP to communicate with your GPRS device.


FreeRTOS+TCP

Posted by jhawakhar on September 18, 2017

yes it does have its own stack but i am currently trying to do it with FreeRTOS+TCP stack and the reason i am moving to FreeRTOS+TCP stack is for multitasking where with AT command stack provided with simcom800 is not possible.


FreeRTOS+TCP

Posted by heinbali01 on September 18, 2017

You can still use FreeRTOS to have multitasking. You will have to write a driver to do the communication with the chip. And that is not an easy task. I had the same problem recently when I had to use a ( cheap Chinese ) WiFi chip which has an internal TCP/IP stack. Good luck


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS