bruce9717 - New to SensESP. I have a Sailor Hat...
New to SensESP. I have a Sailor Hat ESP board and I changed platformio.ini to specify the shesp (default_envs = shesp32) and everything builds and I get an AP named "my-sensesp-project" that I connect to and it works fine.
I want to change the name of the AP, so I modified main.cpp as follows:
sensesp_app = (&builder)
// Set a custom hostname for the app.
->set_hostname("Sailor Hat")
// Optionally, hard-code the WiFi and Signal K server
// settings. This is normally not needed.
//->set_wifi_client("My WiFi SSID", "my_wifi_password")
//->set_wifi_access_point("My AP SSID", "my_ap_password")
//->set_sk_server("192.168.10.3", 80)
->get_app();
it builds fine, however, the AP still shows up as "my-sensesp-project"
any thoughts on how to ge the AP name to change?
4 Replies
Hi, well if line starts with // it's comment, if you remote those // it will become valid program instruction. Please try that and report back! 🙂
I should have said that I had tried uncommenting the ->set_wifi_access_point("My AP SSID", "my_ap_password") line and commented out the ->set_hostname("Sailor Hat") line and no change.
It appears that the AP web server has a set of parameters that is uses...where is those saved?
Unknown User•3w ago
Message Not Public
Sign In & Join Server To View
Thanks for the answer!