| Program | ||
| Compiled datetime | ||
| Hardware | ||
| Current time | ||
| Network | ||
| Local address | ||
| MAC address | ||
| Gateway | ||
| Netmask | ||
| Link | ||
| Duplex | ||
| Leds | ||
| LED | Status | Actions |
|---|---|---|
| GREEN | ToggleOnOff | |
| RED | ToggleOnOff | |
| ORANGE | ToggleOnOff | |
| BLUE | ToggleOnOff | |
| Client | ||
| All connections | ||
| Successful connections | ||
| Percentage | ||
| TX Bytes | ||
| RX Bytes | ||
| Server | ||
| All connections | ||
| TX Bytes | ||
| RX Bytes | ||
| About website | ||
|
This website is hosted on my STM32F4-Discovery board and DP83848 ethernet PHY. Data, which are used for display to user are stored on SD card. DP83848 works using LwIP ethernet stack. Communication between LwIP and DP83848 is done using Reduced MII (RMII) peripheral. This website is also able to serve user data (variables, SSI tags) and to handle GET requests (CGI handlers).
When Discovery board is reset (when power is out, or when reprogramming) and program starts, first LwIP gets ip via DHCP protocol from my router. Then first what I do is update my IP at home to my stm32f4-discovery.net server so you can access from there simple. System also request unix time from server (TCP client) and stores is into RTC peripheral on STM32F4 device. On board, I have DS18B20 temperature sensor, which measures temperatures and every measure when it does, data are uploaded to emoncms.org server. So, this STM32F4 is fully network busy :D It must serve data from SD card to users who connect to, and simultaneously upload data (TCP client) to another server with about 1.5Hz connections. My library allows up to 4 TCP client connections at a time. |
||