Skip to content

feat(ble): advertise the wifi list capability and answer netcfg status queries - #764

Open
KOKO-cyco wants to merge 2 commits into
tuya:masterfrom
KOKO-cyco:feat/ble-netcfg-status-refresh
Open

KOKO-cyco wants to merge 2 commits into
tuya:masterfrom
KOKO-cyco:feat/ble-netcfg-status-refresh

Conversation

@KOKO-cyco

@KOKO-cyco KOKO-cyco commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Two commits:

  1. CombosFlag in the dev info now reports the capabilities this stack implements (list query, netcfg state, log, ap name) instead of only bit0, so the app shows and uses the status path.
  2. NETCFG_STAT (0x0004) replies {"type":1,"stage":N,"status":0} (stage 0 not connected / 2 connected not activated / 3 activated), and WIFI_LST (0x0003) rescans on every request instead of serving a 60s cache.

@KOKO-cyco
KOKO-cyco force-pushed the feat/ble-netcfg-status-refresh branch from 4bdab11 to 3738108 Compare October 22, 2026 02:47
Set the vendor adv flag bit and the dev info combos flag bits for the
wifi list, netcfg status, log and ap name so the app issues the list and
status queries while provisioning.

(cherry picked from commit 29b68a2)
@KOKO-cyco KOKO-cyco changed the title feat(ble): answer netcfg status queries and rescan on every list request feat(ble): advertise the wifi list capability and answer netcfg status queries Oct 22, 2026
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