OpenBK7231T_App icon indicating copy to clipboard operation
OpenBK7231T_App copied to clipboard

Powersave might not be working on BL602

Open giedriuslt opened this issue 1 year ago • 4 comments

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.

giedriuslt avatar Mar 30 '24 07:03 giedriuslt

is this an easy fix?

divadiow avatar Apr 11 '24 14:04 divadiow

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

divadiow avatar Apr 11 '24 14:04 divadiow

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.

giedriuslt avatar Apr 11 '24 17:04 giedriuslt

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

divadiow avatar Apr 26 '24 11:04 divadiow