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

Powersave might not be working on BL602 #1157

Open
giedriuslt opened this issue Mar 30, 2024 · 4 comments
Open

Powersave might not be working on BL602 #1157

giedriuslt opened this issue Mar 30, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@giedriuslt
Copy link
Contributor

Describe the bug
Powersave might not be working on BL602

Firmware:

  • Version [e.g. 1.17]
  • Device: Any
  • Chip/model: BL602
  • Device config:

Power save command on BL602 end here in SDK current SDK for OpenBK

int wifi_mgmr_api_fw_powersaving(int mode)
{
return wifi_mgmr_api_common_msg(WIFI_MGMR_EVENT_FW_POWERSAVING, (void*)0x1, (void*)0x2);
}

So it does not depend on mode parameter and does something, but can't be hanged. Official sdk has fixed this.

@openshwprojects openshwprojects added the bug Something isn't working label Mar 31, 2024
@divadiow
Copy link
Contributor

is this an easy fix?

@divadiow
Copy link
Contributor

Probably a silly question but is moving to the latest SDK entirely a big task?

@giedriuslt
Copy link
Contributor Author

giedriuslt commented Apr 11, 2024

latest sdk has quite some changes in the structure, so app needs to be modified. I tried, but got stuck. I might return to that some time later.
Also modifying existing sdk to pass the power save parameter does not seem to influence power use in any way.

@divadiow
Copy link
Contributor

I wonder if the Ai-Thinker SDK is better. https://github.com/Ai-Thinker-Open/Ai-Thinker-WB2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants