Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BL602 - waitFor NTPState 1 doesn't seem to work and waits forever. #1219

Open
delay0 opened this issue May 8, 2024 · 2 comments
Open

BL602 - waitFor NTPState 1 doesn't seem to work and waits forever. #1219

delay0 opened this issue May 8, 2024 · 2 comments

Comments

@delay0
Copy link

delay0 commented May 8, 2024

"waitFor NTPState 1" doesn't seem to work and waits forever.

running Build: TMGN on beken #1218 ( #1218 )

"vendor": "Tuya",
"name": "Surplife APP RGB+WW+CW bulb WiFi+BLE E27",
"chip": "BL602",
"board": "BL-M5 V1.2",

@delay0
Copy link
Author

delay0 commented May 8, 2024

in cmd_eventHandlers.c

302 | #if defined(PLATFORM_BEKEN) \|\| defined(WINDOWS)
--
303 | CMD_Script_ProcessWaitersForEvent(eventCode, newValue);
304 | #endif
 
386 | #if defined(PLATFORM_BEKEN) \|\| defined(WINDOWS)
387 | CMD_Script_ProcessWaitersForEvent(eventCode, argument);
388 | #endif

I released and tested this for my BL602. Works with NTPState.

@giedriuslt
Copy link
Contributor

Fixed here #1191 not sure when will be merged or builds fixed

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

No branches or pull requests

2 participants