I am new to arduino and would like to know if it is possible to change via rs232 (pc to arduino) my network name with char* format and password with uint32_t format. If i'is possible how to do?
Thank you in advance for all possible help.
Change via rs232 (pc to arduino) my network name with char* format and password with uint32_t format
Can you explain what "my network name" is?
This is the name of my wifi device (esp32)
@Robin2's serial basics topic should get you started.
Why is the password a uint32_t, and not a string?
Don't forget to stop and restart the wi-fi.
Your Arduino definitely can't handle RS232 signal levels; you will need a converter for that. Modern PCs don't have RS232 ports; you can use a USB to RS232 converter.
But maybe you just meant serial.
Robin's Serial Input Basics - updated might possibly give you some ideas for serial communication.
You probably have something in your code like
char *networName = "HelloWorld". In which case you have to be careful.
Exactly, the name is just that in this format.
So, you need to find the maximum length of an SSID, and size your name array appropriately.
Don't forget to allow space for the string terminator.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.