<char*>(Sha1.result())
//get: error: expected primary-expression before '<' token
static_cast<char*>(Sha1.result())
//get: error: invalid static_cast from type 'uint8_t* {aka unsigned char*}' to type 'char*'
Yeah, you'll need a reinterpret_cast (or just a plain C-style cast) for that. You want to tell the compiler that you are happy with the bits as they are and no conversion manipulation is necessary.
Ok. I will try that. By now I was trying to make it work on UNO but I got a bug using Ethernet shield2 on uno... if I call localIp() it return 255.255.255.255 address instead of ip... but I still can ping the arduino from command prompt.
I got the bug even with example... strange.
When I use the websocket server example, I can't establish a connection.... it got refused...