From 5866992ce080fda6b3ece02d7b992ecaf2323e04 Mon Sep 17 00:00:00 2001 From: vipinvkmenon Date: Mon, 19 Dec 2016 22:31:52 +0530 Subject: [PATCH 1/3] Update sha1.cpp Bug Fix for Arduino IDE above 1.5 This is the modification for the issue of: sha1.cpp:11:25: error: variable 'sha1InitState' must be const in order to be put into read-only section by means of 'attribute((progmem))' uint8_t sha1InitState[] PROGMEM = { ^ This is due to deprecataions and changes in gcc version. this needs to be changed to const . As of this writing I was using Version1.6.4. --- sha1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha1.cpp b/sha1.cpp index 770f6f5..0732a79 100755 --- a/sha1.cpp +++ b/sha1.cpp @@ -8,7 +8,7 @@ #define SHA1_K40 0x8f1bbcdc #define SHA1_K60 0xca62c1d6 -uint8_t sha1InitState[] PROGMEM = { +const uint8_t sha1InitState[] PROGMEM = { 0x01,0x23,0x45,0x67, // H0 0x89,0xab,0xcd,0xef, // H1 0xfe,0xdc,0xba,0x98, // H2 From 6dd7858ec9b33e9c2f7105c2da9edf060ac82681 Mon Sep 17 00:00:00 2001 From: vipinvkmenon Date: Fri, 27 Jan 2017 12:04:19 +0530 Subject: [PATCH 2/3] Change --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2eea2f0..b5c6204 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +##Mosdified + + ## Websocket Client and Server for Arduino This is a simple library that implements a Websocket client and server running on an Arduino. @@ -20,4 +23,4 @@ Because of limitations of the current Arduino platform (Uno at the time of this ### Credits Thank you to github user ejeklint for the excellent starting point for this library. From his original Hixie76-only code I was able to add support for RFC 6455 and create the WebSocket client. -- Branden \ No newline at end of file +- Branden From 17d014a202fa72b8d5fcdb49c5189df2734790c8 Mon Sep 17 00:00:00 2001 From: vipinvkmenon Date: Fri, 27 Jan 2017 12:08:11 +0530 Subject: [PATCH 3/3] test --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index b5c6204..ed62444 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ -##Mosdified - ## Websocket Client and Server for Arduino