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

Dev Status MAC Command battery level no update. #7

Open
ChunChiehKung opened this issue Sep 3, 2024 · 0 comments
Open

Dev Status MAC Command battery level no update. #7

ChunChiehKung opened this issue Sep 3, 2024 · 0 comments

Comments

@ChunChiehKung
Copy link

Hi Sir,

I have traced the MAC command case "DEV_STATUS_REQ" it will call the following functions.
dev_status_parser => smtc_modem_hal_get_battery_level =>smtc_board_get_battery_level => return the "battery_level"

However, there is no code to call API "smtc_board_set_battery_level". so that the battery level is always 100.
BTW, I don't see code to call "smtc_wifi_get_power_consumption" either.
Is there anything I missed?
Please advise.
Thanks a lot.

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

1 participant