Author Topic: ESP getResetReason , missing ESP library functions  (Read 2795 times)

GraemePerrins

  • Newbie
  • *
  • Posts: 1
ESP getResetReason , missing ESP library functions
« on: April 07, 2016, 05:51:11 am »
Hi,

How can I find out Oak reset reason? The Oak ESP library is missing a number of ESP functions from the standard ESP library that would get Reset Reason or Reset Info point? Does anyone know if the ESP library is to be completed ?


PeterF

  • Hero Member
  • *****
  • Posts: 881
Re: ESP getResetReason , missing ESP library functions
« Reply #1 on: April 08, 2016, 07:36:50 pm »
Graeme, I can't help as far as changes to ESP library functions, but I just spotted (in relation to another post) a uint8_t Oak.bootReason(void) function, which gets the reason for the last reboot from the bootloader... so will that be sufficient for your needs? I suspect it is a Oak API function instead of the standard ESP8266 library one due to different bootloader design... but I'm not sure.

Pete

defragster

  • Sr. Member
  • ****
  • Posts: 467
Re: ESP getResetReason , missing ESP library functions
« Reply #2 on: April 08, 2016, 08:24:48 pm »