realtimelogic / minnowserver Goto Github PK
View Code? Open in Web Editor NEWA super small and fast embedded HTTP(S) WebSocket server
Home Page: https://realtimelogic.com/products/sharkssl/minnow-server/
License: Other
A super small and fast embedded HTTP(S) WebSocket server
Home Page: https://realtimelogic.com/products/sharkssl/minnow-server/
License: Other
I am looking for a webserver library to be used for STM32F103C8 under Arduino platform. I have had it serially communicating with ESP8266/ESP-01S via Serial2. I tested by calling its IP address and there was http text going into Serial2 like this.
+IPD,0,366:GET /test/gpio?sensitivity=2.2 HTTP/1.1
Host: 192.168.1.185
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:124.0) Gecko/20100101 Firefox/124.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
DNT: 1
Connection: keep-alive
Upgrade-Insecure-Requests: 1
There are a few resources on the internet write code to take the above further but I think it would be better to have a proper library for that. What I learnt was we would extract uri/url from GET and process accordingly.
I have looked into Arduino's ESP8266WebServer but it's way to too complicated for me. The other resource https://github.com/khoih-prog/ESP8266_AT_WebServer seems to good but somehow didn't work with incomplete code or errors on some memcpy.
So essentially I wonder if your webserver could be adopted for my work. I am no expert in webserver but just know some basic coding. I still have no idea how those serial text will be fed to a webserver library.
make: *** No rule to make target 'MinnowServer/example/src/main.c', needed by 'build/program.a'. Stop.
After setting up the SharkSSL IDE and running the following commands I get the error above.
cd ESP/esp-open-rtos/examples/
#Put the MinnowServer, the example, and JSON lib in the ms directory.
mkdir ms
cd ms
git clone https://github.com/RealTimeLogic/MinnowServer.git
cd MinnowServer/doc/arch/
cp Makefile MinnowHwIntf.c ../../../
chmod +x ms.sh; mv ms.sh ~/ESP/
cd ../../example/make/
make packwww
cd ~/ESP/esp-open-rtos/examples/ms
make test FLASH_MODE=dio ESPPORT=/dev/ttyUSB0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.