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

Serial commands are completely undiscoverable #338

Closed
xoseperez opened this issue Dec 23, 2017 · 4 comments
Closed

Serial commands are completely undiscoverable #338

xoseperez opened this issue Dec 23, 2017 · 4 comments

Comments

@xoseperez
Copy link
Owner

Originally reported by: Fake Name (Bitbucket: fake-name, GitHub: fake-name)


So I just flashed Espurna to a Sonoff Pow, and I'd like to set it up using the serial interface.

However, trying to do so, I have no idea what any of the serial commands are.

I've tried googling "espurna serial interface" and all the variations of that I can think of, without any result. In addition, the serial CLI itself seems to have no facility for help. I've tried help, ?, and every single single-letter in the alphabet as a command, and they all return -ERROR unknown command.

Searching the source for that exact string points me to one of the files in Embedis (Embedis.cpp), where none of the commands are actually defined.

So, basically, how the devil does the serial command interface work? It seems to me, at minimum, it should probably support at least help or ?, or some sort of way for figuring out what it does.

@xoseperez
Copy link
Owner Author

Original comment by Fake Name (Bitbucket: fake-name, GitHub: fake-name):


Aaaand of course, now that I've been going through the wiki again, apparently the serial CLI is documented as the "Terminal" interface.

A help should still be implemented, I think. Even if it just prints use "commands" to list available commands.

@xoseperez
Copy link
Owner Author

Mapped "help" command to a slightly more friendly version of the "commands" command. Available in the dev branch atm.

@xoseperez
Copy link
Owner Author

Released with 1.11.0

@xoseperez
Copy link
Owner Author

Removing milestone: 1.11.0 (automated comment)

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

No branches or pull requests

1 participant