Skip to content

over the air programming for ESP32: espota needs --auth= argument to be quoted #2483

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

Closed
jamesalawrence opened this issue Aug 7, 2024 · 2 comments
Assignees
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project

Comments

@jamesalawrence
Copy link

It is possible to perform an OTA update successfully to an ESP32 device from the command line using a command like

python3 espota.py -r -i -p 3232 --auth="This is a valid auth phrase with spaces" -f project.ino.bin

However if you try to enter "This is a valid auth phrase with spaces", either with or without the quotes into the dialogue box for the OTA password within the Arduino IDE then it fails complaining that "is a valid auth phrase with spaces" are not valid arguments for espota.

Please quote the password that is collected within the dialogue box so that spaces do not cause failure.

@per1234 per1234 self-assigned this Aug 7, 2024
@per1234 per1234 transferred this issue from arduino/Arduino Aug 7, 2024
@per1234 per1234 added the type: imperfection Perceived defect in any part of project label Aug 7, 2024
@per1234
Copy link
Contributor

per1234 commented Aug 7, 2024

Hi @jamesalawrence. Thanks for your report.

The problem is caused by insufficient quoting in the command template defined in the platform.txt configuration file of the "esp32" boards platform, not by a problem in the Arduino IDE codebase. So I will close this issue as off topic for this repository.

I have also submitted a pull request to fix the bug in the "esp32" boards platform configuration so the resolution is in progress even though it isn't appropriate to track it via this issue tracker:

espressif/arduino-esp32#10126

@per1234 per1234 closed this as not planned Won't fix, can't repro, duplicate, stale Aug 7, 2024
@per1234 per1234 added the conclusion: off topic Off topic for this repository label Aug 7, 2024
@jamesalawrence
Copy link
Author

Thanks @per1234 for your very speedy response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: off topic Off topic for this repository type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants