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

UDP? #10

Open
jonshouse1 opened this issue Dec 8, 2014 · 4 comments
Open

UDP? #10

jonshouse1 opened this issue Dec 8, 2014 · 4 comments

Comments

@jonshouse1
Copy link

Some comments/questions :

Does this have the ability to UDP listen, I cant seem to make that work ? Almost all protocols I could use this module for are UDP based, many require the ability to socket listen on multiple ports.

The command line arguments for access point credentials need to be quoted. The essid may contain any chartacters you like, same for password - so it is entirely possible for spaces to be in either.

It is a promising start, but the TCP listener should cought out the number of bytes for the payload it is about to output. The original firmware is pretty poor but the +IPD message has the correct idea.

@nekromant
Copy link
Owner

Well, listen has 'tcp' hardcoded at the moment. It's on my TODO list.

As for credentials - it's a known limitation, since microrl has no support for escaping spaces right now. It's on my TODO list as well.

Listen command right now is "VERY" limited and broken, mostly since Espressif's API has no freaking way to actually stop listening on a port.

@jonshouse1
Copy link
Author

I dont mind if it does not stop. The problem I have with the current firmware 0018000902 is that it randomly stops listening to UDP sockets, also large volumes of short UDP packets cause the module to reset ! Bit crappy so far, I am desperate to make it work as a customer has soldered 200 of these down .... ho hum ....

@jonshouse1
Copy link
Author

PS In udplisten change "webserver_" names to something more general like "socket_" as listening should be generic, but I guess you know that :-) Looks like a good start, I prefer your command line but it closer to what I am used to. Remember the output needs to parsed by another CPU, +IPD,N,X: Bla was not a great syntax but it was at least easy to parse, be carful not to filter or reform anything coming from sockets, as this would break binary protocols :-)

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

3 participants