Device Web UI dashboard: STM32 :: CubeIDE :: Bare metal :: HTTP, Websocket, MQTT

  Рет қаралды 7,718

Mongoose Networking Library

Mongoose Networking Library

Күн бұрын

Пікірлер: 21
@bennguyen1313
@bennguyen1313 Ай бұрын
Could this be done on any processor? For example, the ESP32 IDF IDE has project templates for a simple web-server.. I assume mongoose would replace that tcp/ip stack, but how? I'm interested in serving up a VueJs page from SPIFFS, that uses websockets to push ADC data to all connected clients/browsers as fast as the readings allow!
@mongoose-networking-library
@mongoose-networking-library Ай бұрын
Yes absolutely you could do it on ESP32. Mongoose can work top on an existing TCP/IP stack - and that's exactly the case for ESP32. Here's an example github.com/cesanta/mongoose/tree/master/examples/esp32/device-dashboard
@PiotrAdamczyk-yh3vv
@PiotrAdamczyk-yh3vv Жыл бұрын
Perfect!
@CanCreativeMind
@CanCreativeMind Жыл бұрын
I want led1 and led2 to light up in stm32 when I press the button by marking checkbox1 and checkbox2 from the computer. How can I make an example about this?
@mongoose-networking-library
@mongoose-networking-library 11 ай бұрын
Please take a look at this video - kzbin.info/www/bejne/ony8fmeYbbmNqtU
@mostafanfs
@mostafanfs 2 жыл бұрын
It was very useful thanks
@mongoose-networking-library
@mongoose-networking-library 2 жыл бұрын
Written tutorial is here: mongoose.ws/documentation/tutorials/stm32/all-cube-baremetal-builtin/
@miloslovric2818
@miloslovric2818 Жыл бұрын
link is broken :(
@mongoose-networking-library
@mongoose-networking-library Жыл бұрын
THank you, @@miloslovric2818 , a link has been corrected!
@muhammadarsalan3412
@muhammadarsalan3412 Жыл бұрын
How to implement mqtt?
@mongoose-networking-library
@mongoose-networking-library Жыл бұрын
Take a look at the video tutorial : kzbin.info/www/bejne/ZmTRnYWHpb-lg5Y Or, generic code example - github.com/cesanta/mongoose/tree/master/tutorials/mqtt/mqtt-client
@husnimuttaqin4636
@husnimuttaqin4636 2 ай бұрын
@@mongoose-networking-library file not found
@mongoose-networking-library
@mongoose-networking-library 2 ай бұрын
@@husnimuttaqin4636 Updated the link - please try again
@shef7777
@shef7777 5 ай бұрын
invalid storage class for function 'run_mongoose' 123 | static void run_mongoose(void) {
@mongoose-networking-library
@mongoose-networking-library 5 ай бұрын
Please use mongoose.ws/wizard/#/output?board=f746&ide=CubeIDE&rtos=baremetal&file=README.md
@alphaapfel6979
@alphaapfel6979 8 ай бұрын
The struct mip_ipcfg isnt working. It says that everything written in the struct in main.c are no members of mip_ipcfg. I am using an H753 do you know a solution? ../Core/Src/main.c: In function 'main': ../Core/Src/main.c:125:10: error: variable 'ipcfg' has initializer but incomplete type 125 | struct mip_ipcfg ipcfg = { | ^~~~~~~~~ ../Core/Src/main.c:126:20: error: 'struct mip_ipcfg' has no member named 'mac' 126 | .mac = {0xaa, 0xbb, 0xcc, 1, 2, 3}, | ^~~ ../Core/Src/main.c:126:26: error: extra brace group at end of initializer 126 | .mac = {0xaa, 0xbb, 0xcc, 1, 2, 3}, | ^ ../Core/Src/main.c:126:26: note: (near initialization for 'ipcfg') ../Core/Src/main.c:126:26: warning: excess elements in struct initializer ../Core/Src/main.c:126:26: note: (near initialization for 'ipcfg') ../Core/Src/main.c:127:20: error: 'struct mip_ipcfg' has no member named 'ip' 127 | .ip = 0, | ^~ ../Core/Src/main.c:127:25: warning: excess elements in struct initializer 127 | .ip = 0, | ^ ../Core/Src/main.c:127:25: note: (near initialization for 'ipcfg') ../Core/Src/main.c:128:20: error: 'struct mip_ipcfg' has no member named 'mask' 128 | .mask = 0, | ^~~~ ../Core/Src/main.c:128:27: warning: excess elements in struct initializer 128 | .mask = 0, | ^ ../Core/Src/main.c:128:27: note: (near initialization for 'ipcfg') ../Core/Src/main.c:129:20: error: 'struct mip_ipcfg' has no member named 'gw' 129 | .gw = 0}; | ^~ ../Core/Src/main.c:129:25: warning: excess elements in struct initializer 129 | .gw = 0}; | ^ ../Core/Src/main.c:129:25: note: (near initialization for 'ipcfg') ../Core/Src/main.c:125:20: error: storage size of 'ipcfg' isn't known 125 | struct mip_ipcfg ipcfg = { | ^~~~~ ../Core/Src/main.c:130:3: warning: implicit declaration of function 'mip_init' [-Wimplicit-function-declaration] 130 | mip_init(&mgr, &ipcfg, &mip_driver_stm32); | ^~~~~~~~ ../Core/Src/main.c:130:27: error: 'mip_driver_stm32' undeclared (first use in this function); did you mean 'mg_tcpip_driver_stm32h'? 130 | mip_init(&mgr, &ipcfg, &mip_driver_stm32); | ^~~~~~~~~~~~~~~~ | mg_tcpip_driver_stm32h ../Core/Src/main.c:130:27: note: each undeclared identifier is reported only once for each function it appears in ../Core/Src/main.c:125:20: warning: unused variable 'ipcfg' [-Wunused-variable] 125 | struct mip_ipcfg ipcfg = { | ^~~~~ make: *** [Core/Src/subdir.mk:40: Core/Src/main.o] Error 1 "make -j12 all" terminated with exit code 2. Build might be incomplete. 14:28:47 Build Failed. 9 errors, 6 warnings. (took 604ms)
@mongoose-networking-library
@mongoose-networking-library 8 ай бұрын
Please follow this guide: mongoose.ws/documentation/tutorials/device-dashboard/#1-skeleton-firmware
@alphaapfel6979
@alphaapfel6979 8 ай бұрын
@@mongoose-networking-library I still got a problem. I followed your guide, but I get the DHCP request message. I the pins are correct. Do you know what could also be an issue?
@shef7777
@shef7777 5 ай бұрын
@@alphaapfel6979 Did you fix?
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 56 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
STM32 Guide #4: Generated Code, HAL, and Bare Metal
26:20
Mitch Davis
Рет қаралды 89 М.
Embedded Web Server #1: Mongoose Hello World
14:26
Mitch Davis
Рет қаралды 16 М.
Build Your Own Drone Tracking Radar:  Part 1
20:08
Jon Kraft
Рет қаралды 627 М.
STM32 Guide #1: Your first STM32 dev board
12:12
Mitch Davis
Рет қаралды 238 М.
10 Signs Your Software Project Is Heading For FAILURE
17:59
Continuous Delivery
Рет қаралды 41 М.
Ethernet Web Server with STM32 & W5500 Tutorial | Mongoose WS API
14:05
This Docker Compose UI is amazing! // Dockge
13:08
Christian Lempa
Рет қаралды 117 М.