mohamedboubaker/GPS-Tracker

buffer is not filled with reply after opening a tcp connection

mohamedboubaker opened this issue · 0 comments

In network_functions.c in function sim_tcp_send
after constructing the open tcp connection command, using strcat. the command is sent to the module to open a tcp connection,
in case the creation of connection fails the module sends CONNECT FAIL error. This error msg is not captured in the receive buffer.
Even when the connection has succeeded with CONNECT OK,

The only thing captured in the receive buffer is the "issued command"