Skip to content

Dev Status MAC Command battery level no update. #7

@ChunChiehKung

Description

@ChunChiehKung

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions