locate alt boot monitor IP address
Posted: Mon Dec 05, 2022 10:08 am
I am using a Nano module and 3.3.9. If my app crash due to whatever reason, it will boot to alt boot monitor. I understand that you can use serial or autoupdate to locate the ip address and recover the app.
However my customer may not use serial interface nor any PC utilities, they will mainly rely on their modem and ethernet interface to communicate with the NANO. the problem is when my customer config my app to a static IP that they want. and the alt boot monitor will set to 0.0.0.0(DHCP) before ship to my customer, and then for whatever reason my app crash, it boot to the monitor app and getting the IP from DHCP server, and the IP won't be the same as the static IP they set. So my customer will be blind when they try to recover the app.
Perhaps I should ask if there's a way or API to config the boot monitor app from my app, so when my customer set the IP of my app, it also set the IP to the boot monitor app. so the two app IP will be in sync.
However my customer may not use serial interface nor any PC utilities, they will mainly rely on their modem and ethernet interface to communicate with the NANO. the problem is when my customer config my app to a static IP that they want. and the alt boot monitor will set to 0.0.0.0(DHCP) before ship to my customer, and then for whatever reason my app crash, it boot to the monitor app and getting the IP from DHCP server, and the IP won't be the same as the static IP they set. So my customer will be blind when they try to recover the app.
Perhaps I should ask if there's a way or API to config the boot monitor app from my app, so when my customer set the IP of my app, it also set the IP to the boot monitor app. so the two app IP will be in sync.