acconeer / acconeer-python-exploration

Acconeer Exploration Tool
https://docs.acconeer.com
Other
174 stars 62 forks source link

Hibernate mode can't be configured #46

Closed sandroci closed 4 years ago

sandroci commented 4 years ago

https://github.com/acconeer/acconeer-python-exploration/blob/71146f1c4346b0b40a0a73c0f94fc7ac8fbe3cd5/src/acconeer/exptool/configs.py#L59-L64

Unfortunately, the power save mode hibernate is missing here. In the regmap.yaml hibernate is included but the PowerSaveMode class is lacking it. As workaround, I have included it by myself like following:

class PowerSaveMode(ConfigEnum):
        ACTIVE = ("Active", "active")
        READY = ("Ready", "ready")
        SLEEP = ("Sleep", "sleep")
        OFF = ("Off", "off")
        HIBERNATE = ("Hibernate", "hibernate")

and reinstalled the python package. The hibernate mode is working with the Sparse service as expected.

Can you fix that?

Thank you in advance!

Best regards, Sandro

erikmansson commented 4 years ago

Thanks for your feedback! This has been left out because of limited hardware support - but I've now added it so you can use it. Note that it is only supported by the XM122.