diff --git a/examples.md b/examples.md index 27af292..ec9ed1b 100644 --- a/examples.md +++ b/examples.md @@ -5,6 +5,7 @@ The following example Arduino sketches (*.ino) are available with this library: 1. [SimpleCrash](https://github.com/krzychb/EspSaveCrash/blob/master/examples/SimpleCrash/SimpleCrash.ino) - trigger sample exceptions and show them on a serial monitor. 2. [ExtendedCrashTester](https://github.com/krzychb/EspSaveCrash/blob/master/examples/ExtendedCrashTester/ExtendedCrashTester.ino) - extended version of SimpleCrash above. It allows triggering additional sample exceptions. 3. [RemoteCrashCheck](https://github.com/krzychb/EspSaveCrash/blob/master/examples/RemoteCrashCheck/RemoteCrashCheck.ino) - check the list and details of saved exceptions remotely with web browser. + 4. [WebServerCrashCheck](https://github.com/krzychb/EspSaveCrash/blob/master/examples/WebServerCrashCheck/WebServerCrashCheck.ino) - save crash data to user buffer to check it remotely with web browser using ESP8266WebServer. Contributed by [brainelectronics](http://www.brainelectronics.de/). To use examples below, first you need to [install](readme.md#installation) the [EspSaveCrash](https://github.com/krzychb/EspSaveCrash) library on your PC. diff --git a/keywords.txt b/keywords.txt index 9d23b18..4cb9a62 100644 --- a/keywords.txt +++ b/keywords.txt @@ -14,3 +14,4 @@ SaveCrash KEYWORD1 print KEYWORD2 clear KEYWORD2 +crashToBuffer KEYWORD2 \ No newline at end of file diff --git a/library.json b/library.json index abc1d6b..6cd2aba 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "EspSaveCrash", - "version": "1.0.3", + "version": "1.1.0", "keywords": "crash, exception, restart, software WDT, diagnostics", "description": "Automatically saves exception details and stack trace to flash in case of ESP8266 crash.", "repository": diff --git a/library.properties b/library.properties index 7c50d39..074927e 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=EspSaveCrash -version=1.0.2 +version=1.1.0 author=Krzysztof Budzynski maintainer=Krzysztof Budzynski sentence=Automatically saves exception details and stack trace to flash in case of ESP8266 crash. diff --git a/readme.md b/readme.md index d386a5d..8c3fb32 100644 --- a/readme.md +++ b/readme.md @@ -105,6 +105,8 @@ krzychb * Preparation of this library has been inspired by issue [#1152](https://github.com/esp8266/Arduino/issues/1152) in [esp8266 / Arduino](https://github.com/esp8266/Arduino) repository. * Development was possible thanks to [Ivan Grokhotkov](https://twitter.com/i_grr), who clarified how to register a crash callback and suggested to save crash information on flash. * Actual implementation of library has been done thanks to [djoele](https://github.com/djoele) who provided first working code and suggested to convert it into general functionality. +* Thanks to contribution by [Juan L. Pérez Díez](https://github.com/jlpdiez) the library accepts offset and size parameters passed into the constructor. +* With kind contribution by [brainelectronics](http://www.brainelectronics.de/) the crash log can be stored to char buffer for more convenient use with a web server. ## License diff --git a/src/EspSaveCrash.cpp b/src/EspSaveCrash.cpp index 93815b2..db2dafa 100644 --- a/src/EspSaveCrash.cpp +++ b/src/EspSaveCrash.cpp @@ -5,7 +5,7 @@ Repository: https://github.com/krzychb/EspSaveCrash File: EspSaveCrash.cpp - Revision: 1.0.2 + Revision: 1.1.0 Date: 18-Aug-2016 Author: krzychb at gazeta.pl diff --git a/src/EspSaveCrash.h b/src/EspSaveCrash.h index 8861607..ccdb842 100644 --- a/src/EspSaveCrash.h +++ b/src/EspSaveCrash.h @@ -5,7 +5,7 @@ Repository: https://github.com/krzychb/EspSaveCrash File: EspSaveCrash.h - Revision: 1.0.2 + Revision: 1.1.0 Date: 18-Aug-2016 Author: krzychb at gazeta.pl