Hi,
The bridge/routing setup and the web-server part are separate problems.
I can offer you a suggestion for the web server part, if you want a small C/C++ HTTP/WebSocket server running on the device, Mongoose is one option. It can serve a local UI or API to devices connected to the access point.
A very quick starting point is this generated Pico W project, which you can easily run:
https://mongoose.ws/wizard/#/output?boa ... ile=main.c
To run it locally, open the link, go to the Settings tab, choose a local directory in the Source Code Generator section, then click the blue Generate C/C++ code button in the upper-right corner. That will generate the project files on your machine.
In `main.c`, look at the `wifi_setconfig()` function. To run it in AP mode, you just need to edit the values for:
Set `wifi->apmode` for AP mode and choose the SSID/password you want clients to connect to.
With this, you can customize your webserver internal logic in any way you want, using Mongoose's API, which is well documented here.
Heads up: I am part of the Mongoose development team. Hope this helps.
The bridge/routing setup and the web-server part are separate problems.
I can offer you a suggestion for the web server part, if you want a small C/C++ HTTP/WebSocket server running on the device, Mongoose is one option. It can serve a local UI or API to devices connected to the access point.
A very quick starting point is this generated Pico W project, which you can easily run:
https://mongoose.ws/wizard/#/output?boa ... ile=main.c
To run it locally, open the link, go to the Settings tab, choose a local directory in the Source Code Generator section, then click the blue Generate C/C++ code button in the upper-right corner. That will generate the project files on your machine.
In `main.c`, look at the `wifi_setconfig()` function. To run it in AP mode, you just need to edit the values for:
Code:
wifi->apssidwifi->appasswifi->apmodeWith this, you can customize your webserver internal logic in any way you want, using Mongoose's API, which is well documented here.
Heads up: I am part of the Mongoose development team. Hope this helps.
Statistics: Posted by stack_dev376 — Tue Jun 23, 2026 8:23 am





