-
Notifications
You must be signed in to change notification settings - Fork 298
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
Update BL602 code to work with latest sdk. #1487
base: main
Are you sure you want to change the base?
Conversation
Now it builds and looks working |
Backported igmp and mqtt password fix, changed hostname to be OpenBL602_xxxxxxxx. Did some more cleanup. |
Thanks for this. |
No, it's still hardcoded unfortunately, I just changed it to match the general pattern |
Found another issue, version is not set, will fix later, trying to see how stable it is. |
Seems to be rebooting every 1-2 days for me. Need to investigate more... |
i can confirm it connects to my wpa2/3 wifi and works now |
Since you mentioned the size is even bigger than the "old" sdk, I recently found that disabling TLS will reduce the size about 100k : -rwxr-xr-x 1 max max 793244 Jan 14 20:03 OpenBL602_dev_20250114_190155.bin The diff is simple:
|
Yes disabling tls would be useful, we could enable more stuff for bl602. SendGet does not support tls even on bk7231. Unless we need that for mqtt? but probably there is no support for that either. |
I don't recall any usage of TLS in OpenBeken, so it should be safe to disable it. We might disable some more features/code to save some more space, but that will be harder in changing makefiles |
I fixed the version string, and changed temp reading to use a new way from new sdk, which does not use wait loops. Now it's stable for 3 days already. So I think it's good yo merge now |
This updates code so that BL602 works with latest sdk.
This has following advantages
However,
Tested:
Not tested: