We are using the Quectel BG96 module for an IoT gateway project for cloud communication. As per our requirement, we need to communicate with 4 socket connections. We have created one context under 4 socket connections.
Facing following issues while running 4 parallel socket connections: 1) While continuously sending the AT+QISEND command with different sockets, the module is not responding. We tried some 50msec delay between each AT + QISEND command and it is working fine. Is this correct? 2) After successfully closing the connection using AT + CLOSE, it gives the response OK but for next TCP/IP commands (like AT+QIRD) it is not responding. This is occurring rarely where it takes some time for recovering back or does not recovers at all. We tried closing the socket connection and waited for 10 seconds after getting the response for close command, then only it responded for other commands. Should we do the same or is there any other workaround? Waiting for 10 seconds results in disconnection of other socket connections. 3) While running 4 parallel connections some long time like 1 to 2 hours, DNS and TCP/IP communication failed. It responds with the error code "568, System busy". Once the System busy occurred, then no TCP/IP communication happened. The only way to recover is reset the module or AT+QPOWD command. What is the workaround for the same?
Kindly help to identify the issue. kindly let me know if there is any procedure to follow open the multiple connections.