> print(node.bootreason())
stdin:1: attempt to call field 'bootreason' (a nil value)
stack traceback:
stdin:1: in main chunk
This seems to be inline with the github repo of the firmware; file components/modules/node.c does not contain an LROT_FUNCENTRY for this function.
Yet, the docs do mention this functionality (docs/modules/node.md)
Functionality is basically there in sdk/esp32-esp-idf/components/esp32/reset_reason.c as esp_reset_reason().
Are there any hints or patches to get this working?