Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ESP OTA network password (Read 1468 times)
Acuario
Senior Member
****
Offline


Posts: 256
Location: Spain
Joined: Aug 28th, 2015
ESP OTA network password
Mar 19th, 2022 at 11:00am
Print Post  
Hi,
in the board.txt would like to set the ports for esp8266 and esp32 OTA uploads:
Quote:

esp8266.network.port=8266
esp32.network.port=3232


I would like to set passwords for the two versions as well (I accidentally uploaded esp32 code to and esp8266 - it wasn't happy  Shocked)

I tried the obvious combinations:
Quote:

esp32.network.password=xxx
network.password.esp32=xxx


..but no luck.

Can this be done and if so, how?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP OTA network password
Reply #1 - Mar 19th, 2022 at 4:57pm
Print Post  
The board.txt assumes the current board therefore no need to prefix with a board id

Some examples here

https://www.visualmicro.com/page/How-to-install-Esp32-for-Arduino-and-Visual-Mic...

If you need to use the same code then add the properties you already have to a platform.local.txt in the toolchain folder.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ESP OTA network password
Reply #2 - Mar 20th, 2022 at 1:53am
Print Post  
if you are using vs2022 there is a beta of the next release that you can try in the releases section of this forum. It is in the LATEST at the top and says 'Download 22.02.18.2204 (beta) for VS2022'

The instructions are in the same post. board.txt can be used the way you have it.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint