Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closing sockets #2

Open
sarahmarshy opened this issue Jul 13, 2017 · 1 comment
Open

Closing sockets #2

sarahmarshy opened this issue Jul 13, 2017 · 1 comment

Comments

@sarahmarshy
Copy link
Contributor

sarahmarshy commented Jul 13, 2017

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.

@iot-xiaoyi
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants