Skip to content

Add wifi_mgmr_set_hostname() and fix AP selection logic - #9

Open
kruzer wants to merge 1 commit into
openshwprojects:masterfrom
kruzer:wifi-hostname-and-ap-selection-fix
Open

Add wifi_mgmr_set_hostname() and fix AP selection logic#9
kruzer wants to merge 1 commit into
openshwprojects:masterfrom
kruzer:wifi-hostname-and-ap-selection-fix

Conversation

@kruzer

@kruzer kruzer commented Jul 1, 2026

Copy link
Copy Markdown

Summary

  • wifi_mgmr_ext: add wifi_mgmr_set_hostname() to set the DHCP hostname dynamically from a device short name instead of the hardcoded Bouffalolab_BL602-XXYYZZ
  • wifi_mgmr_ext: fix wifi_mgmr_scan_ap() to select the AP with the best RSSI instead of stopping at the first match (was breaking multi-AP roaming when several APs share the same SSID)
  • lwip/bouffalo.mk: add the mdns source directory to the build

Test plan

  • Build and flash on BL602 with multiple APs sharing the same SSID; confirm the strongest one is selected
  • Confirm DHCP hostname reflects the value passed to wifi_mgmr_set_hostname() instead of the default Bouffalolab_BL602-XXYYZZ

- wifi_mgmr_ext: add wifi_mgmr_set_hostname() to set DHCP hostname
  dynamically from device short name instead of hardcoded Bouffalolab_BL602-XXYYZZ
- wifi_mgmr_ext: fix wifi_mgmr_scan_ap() to select AP with best RSSI
  instead of stopping at first match (was breaking multi-AP roaming)
- lwip/bouffalo.mk: add mdns source directory to build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant