Where to select or edit Com port in Arduino IOT Cloud

Hello,
I am looking in 'Devices' for a place I can edit which com port is available. Seems that isn't available under devices or in the sketch?

Thank you

Hi @cnchobby1.

I'm not sure I understood correctly what you mean by this. Please provide a more detailed description of what you mean by this in a reply on this forum thread to help us to understand it.

The operating system determines which COM ports are available. You can maybe "edit" them via the operating system's configuration, but I am not aware of any good reason for doing that.

Maybe you are looking for a way to select the port? Unlike when using Arduino Cloud Editor to develop a non-IoT sketch, Cloud Editor automagically selects the port for you when developing IoT sketches, not offering any way for the user to select anything else.

Are you having some problem using Arduino Cloud? If so, please provide a detailed description of the problem you are having.

Yes, In The Arduino IDE and also previous version of Arduino IOT Cloud, I could, within the sketch section select the Com port. It seems now, I can't view which port is allocated now change to a different COM port. Has that functionality been stripped?

Thank you for your responses. Very much appreciated.

Regards,

Yes. However, this usually isn't a problem since it is pretty good at selecting the correct port automagically.

Is it selecting the port of your board?

If so, then I recommend not worrying about it and getting back to progressing on your projects.

If not, please tell me which board you are using.

I'm using a ESP32-WROOM-DA.
It does auto connect which is useful. I disconnect it from my laptop, power it through USB charger which works fine on Wifi and with other similar boards... After some time it disconnects and won't reconnect. Unless I bring it back to the laptop via USB.

It may seem I am confusing a different problem, but was trying to understand what happened to the ability to select a different COM port.

Regards,

Can you quantify what you mean by "some time"? Is it a matter of seconds, minutes, hours, days...?

Is the connection you are referring to here the network connection between the board and the Arduino Cloud server?

Does the disconnection problem happen if you leave it connected to the laptop USB for a duration of time after which it would definitely have happened if powered through the charger?

Definitely. The network connection and the serial port connection are completely unrelated.

The automatic serial port connection system can end up picking the wrong port under certain specific circumstances (and this has been reported to the developers). However, I have never actually seen a report of a real world user experiencing this despite monitoring the forum quite closely for such reports. It is likely that you will never have any problems with the automatic port selection behavior so I think it is best to not worry about it until such time might come when you find that an upload or Serial Monitor session fails due to attempting to use the wrong serial port.