https://github.com/Zili0/Huawei-B315s-22
for the Raspberry Pi that uses the router API to do this and have successfully run this on my Pi3.
However this code uses libcurl and openssl functions to construct the necessary SCRAM authentication exchanges and am unable to port it to the Arduino IDE for ESP8266.
I wonder if anyone out there might know how to achieve the same result using something like the http.client functions. I think I have already found substitute ESP8266 functions for the openssl SHA256 functions and the time functions. However the curl elements are really confusing me at the moment.
Appreciate any help - hopefully with code snippets, that anyone can provide. I used to program extensively in C in the 1980s and early 90s at the outset of UNIX and the internet, designing image processing systems, embedded code for use in the space arena etc., but am recently resurrecting those very old skills, so please be patient with me.
Many Thanks
Dean Adams