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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ส.ค. 2022
  • Step-by-step guide on how to implement networking, and Web UI dashboard on a STM32 Nucleo-F746ZG development board. Using Cube IDE as an IDE, built-in Mongoose network stack, bare metal

ความคิดเห็น • 13

  • @PiotrAdamczyk-yh3vv
    @PiotrAdamczyk-yh3vv 11 หลายเดือนก่อน +1

    Perfect!

  • @mostafanfs
    @mostafanfs ปีที่แล้ว

    It was very useful thanks

  • @mongoose-networking-library
    @mongoose-networking-library  ปีที่แล้ว

    Written tutorial is here: mongoose.ws/documentation/tutorials/stm32/all-cube-baremetal-builtin/

  • @CanAhmet--55
    @CanAhmet--55 8 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      Please take a look at this video - th-cam.com/video/lKYM4b8TZts/w-d-xo.html

  • @muhammadarsalan3412
    @muhammadarsalan3412 10 หลายเดือนก่อน

    How to implement mqtt?

    • @mongoose-networking-library
      @mongoose-networking-library  10 หลายเดือนก่อน

      Short answer: github.com/cesanta/mongoose/tree/master/examples/mqtt-client

  • @alphaapfel6979
    @alphaapfel6979 หลายเดือนก่อน

    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  หลายเดือนก่อน +1

      Please follow this guide: mongoose.ws/documentation/tutorials/device-dashboard/#1-skeleton-firmware

    • @alphaapfel6979
      @alphaapfel6979 หลายเดือนก่อน

      @@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?