I am trying to make several calls to a function that returns a char array and have the returned char array assigned to a second char array.
Happy to provide code if necessary but I think I am just missing a syntax trick.
strcpy (cSSID, get_config_value ( SSIDFilename );
char * get_config_value ( ConfigFilename ) char ConfigValue; // Open file and get config data (ConfigValue) return ConfigValue;
This seems logical to me but nothing is assigned to the char array variable cSSID when I do this.
I need to get four different config values for setting up wifi connection to server so I can save some memory by doing all the file reading in a function.