I am implementing mqtt over gsm 800 module interfaced with stm32f103c8


while establishing tcp connection at+cstt return error and at same time on tmft terminal same at command return ok.why this is so?


Give enough delay between each command when running on MCU. On terminals normally enough time is present between each command since they are entered manually. MCU are faster


Thanks now it is working you are right reason was insufficient amount of delay.