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

.bin file edit #71

Open
SteffJay opened this issue Sep 28, 2024 · 2 comments
Open

.bin file edit #71

SteffJay opened this issue Sep 28, 2024 · 2 comments

Comments

@SteffJay
Copy link

SteffJay commented Sep 28, 2024

I am having a problem with the "ESP32_PrusaConnectCam.ino.bin" file.
When the files are uploaded to the camera, the default is '192.168.0.1'. I need to chance the default value to '192.168.1.122'.
How do i change the default value in the .bin file?
Please see screen grab.
to-do

@ZevEisenberg
Copy link
Contributor

ZevEisenberg commented Oct 22, 2024

That value is the default IP address when the ESP32 is in AP mode, broadcasting its own lonely Wi-Fi network of one. But once you connect it to your Wi-Fi, it should get assigned a subnet IP via DHCP, and then you can browse it by finding the IP, or using the local host name. It defaults to http://prusa-esp32cam.local/, but you can change it once you get into the configuration.

If you really do need to edit the .bin file, you can look up a hex editor app. There are several on macOS, such as Hex Fiend, and if you're on Windows or Linux, I'm sure you can find something equivalent. Actually, I bet this would mess up some address offsets in the binary, so I'd go with the comment below about making a custom build!

@johnyHV
Copy link
Collaborator

johnyHV commented Nov 19, 2024

Hi @SteffJay. Best option is to change the IP in the source code and make a custom build.

https://github.com/prusa3d/Prusa-Firmware-ESP32-Cam/blob/master/ESP32_PrusaConnectCam/mcu_cfg.h#L83

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