From what I can tell, the BG96 does not send a FIN ACK upon calling AT+QICLOSE, when it is acting as a TCP client. This is causing my server to not properly terminate the connection with the BG96 client. Is there some configuration that I missed?
The server properly receives the data from the BG96 client, so I know the connection is established correctly.
Using activated PDP context 1, I set up the BG96 in direct push mode with the following:
AT+QIOPEN=1,0,“TCP”,"[server ip address]",8000,0,1
I then send some data with:
[type some data]ctrl+z
And then close the connection with:
All the data is received by the server. I expect the BG96 to properly close the TCP connection with a FIN ACK after calling qiclose, but it doesn’t appear to be doing so. I am using wireshark to observe every packet that is coming in to my server. Any recommendations?