Repository navigation
WiFi and e-paper improvements - #718
Conversation
|
No actionable comments were generated in the recent review.
|
There was a problem hiding this comment.
Actionable comments posted: 4

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
27e4fee7-c980-4b66-b458-6442c12922f5
Files selected for processing: 10-
Documentation/ideas.mdTactility/Private/Tactility/app/wifimanage/Bindings.hTactility/Private/Tactility/app/wifimanage/State.hTactility/Private/Tactility/app/wifimanage/View.hTactility/Source/app/btpeersettings/BtPeerSettings.cppTactility/Source/app/poweroff/PowerOff.cppTactility/Source/app/wifiapsettings/WifiApSettings.cppTactility/Source/app/wifimanage/State.cppTactility/Source/app/wifimanage/View.cppTactility/Source/app/wifimanage/WifiManage.cpp
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.
-
There was a problem hiding this comment.
Actionable comments posted: 2
Caution
Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

Minor · Reload the AP settings before connecting. · WifiApSettings.cpp:210-214
Tactility/Source/app/wifiapsettings/WifiApSettings.cpp:210-214
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winReload the AP settings before connecting.
The previous callback loaded the record at click time. The new callback queues the request, then
handleRequestsconnects with cachedctx->settings. A remembered connection fromWifiConnectcan update the same SSID while this view is open, so the request can use an old password or channel and fail.Suggested fix
if (ctx->connectRequested.exchange(false) && ctx->hasSettings) { - connectToAp(ctx->settings); + WifiApSettings settings {}; + if (wifi_settings_load(ctx->ssid.c_str(), &settings) == ERROR_NONE) { + connectToAp(settings); + } }

Review info
-
Run configuration-
- Source mode: Auto
- Repository: Unavailable
- Branch: Unavailable
- File: No configuration file from this repository applied
- Commit: Unavailable
- Layers: Organization UI
- Review profile: CHILL
- Plan: Advanced
- Run ID:
a9064d0b-b2a8-42df-b3fd-edfc278a3025
Files selected for processing: 5-
Tactility/Private/Tactility/app/wifimanage/State.hTactility/Source/app/wifiapsettings/WifiApSettings.cppTactility/Source/app/wifimanage/State.cppTactility/Source/app/wifimanage/View.cppTactility/Source/app/wifimanage/WifiManage.cpp
Files skipped from review as they are similar to previous changes: 3-
- Tactility/Source/app/wifimanage/WifiManage.cpp
- Tactility/Private/Tactility/app/wifimanage/State.h
- Tactility/Source/app/wifimanage/State.cpp
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
-
Summary by CodeRabbit