log tool (SC-TF003)

This commit is contained in:
Thaddeus Hughes
2025-12-30 20:47:25 -06:00
parent 40a2b3765c
commit a0601c16fa
7 changed files with 462 additions and 459 deletions

View File

@@ -769,7 +769,7 @@ void launchSoftAp() {
wifi_config_t wifi_config = {
.ap = {
.channel = 6,
.channel = get_param_value_t(PARAM_WIFI_CHANNEL).i16,
.ssid = SOFT_AP_SSID,
.password = SOFT_AP_PASSWORD,
.max_connection = 4,
@@ -791,6 +791,9 @@ void launchSoftAp() {
wifi_config.ap.authmode = WIFI_AUTH_OPEN;
}
if (wifi_config.ap.channel > 11 || wifi_config.ap.channel < 1)
wifi_config.ap.channel = 6;
// Set the length of SSID
wifi_config.ap.ssid_len = strlen(ssid_str);