cancel
Showing results for 
Search instead for 
Did you mean: 

Code suspends while getting data from http

Mathan-Mukesh
Associate II

Moved from STM8 forum; STM32H7 Label added.


Hello everyone,
      i am trying to get the data from my http my data will be around 6 KB i can able to receive the data but imediately after receiving the data all the other threads except the MQTT thread(I have the HTTP function inside the MQTT thread) is suspended.I can notice that the interupt is also triggering properly but other threads are running i am attaching my MQTT file with this can you please help me to solve this issue.

3 REPLIES 3
Andrew Neil
Super User

You've posted this under 'STM8 MCUs', but it doesn't seem to be STM8 code (uses Segger RTT) ?

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

I am using the Nucleo H753ZI board yes I use the segger RTT for debugging 

I've moved it to a more appropriate forum.

Please give some more details - IP Stack, RTOS, etc.

See: How to write your question to maximize your chances to find a solution

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.