Open sarahmarshy opened 7 years ago
Current EMW3080 AT-Command firmware only support TWO sockets connections with two . We are coding a new firmware version to support multiple sockets use single connection command set. We plan to finish this firmware coding this week, and update a new mbed driver next weak
I'd like to understand this a little better.
In the driver, you've specified that the radio can have 5 socket connections. The following is copy and pasted from the MXChip MiCO-AT Firmware Reference Manual: TCP/UDP management commands 1 AT+CON1 Query/set parameters of TCP/UDP connection 1 2 AT+CON2F Query/set whether to open TCP/UDP connection 2 3 AT+CON2 Query/set parameters of TCP/UDP connection 2 4 AT+CONF Query/set whether to open or close TCP/UDP 5 AT+CONS Query TCP connection status 6 AT+CONSN Query/set connection numbers on TCP server
1,2,3, and 4 are of interest. It looks like there can only be 2 socket connections open at one time. However, it looks like the current driver only uses CON1. This is causing some issues when I am running networking tests. Here, you can see that the id parameter is not used at all, so we are only assuming ONE socket connection in the driver when we close a socket.
I am going to investigate this a little further and try to resolve it, but I wanted to file an issue and start a discussion here.