Differences

This shows you the differences between two versions of the page.

Link to this comparison view

iothings:laboratoare:2025:lab12 [2026/01/03 22:42]
dan.tudose [Build, flash, test]
iothings:laboratoare:2025:lab12 [2026/01/03 23:05] (current)
dan.tudose [Build, flash, test]
Line 239: Line 239:
   * browser receives a response containing "​Hi"​   * browser receives a response containing "​Hi"​
  
-==== Troubleshooting ==== +<​note>​AssignmentAdd a dynamic HTTP endpoint that serves the current contents of bme_log.dat as an HTML page with a 10second autorefresh. So, if you conect to http://[board-ip]:8080/​bme_log it will automatically serve the contents of the log file.</​note>​
-  * No Wi‑Fi logs: +
-    * raise log level (e.g. default level or module-specific) +
-    * ensure WiFi mgmt is enabled +
-  * No IP address: +
-    * verify DHCP is enabled +
-    * ensure DHCP is started after link is up +
-  * “memory allocation failed” from WiFi adapter: +
-    * reduce concurrent HTTP clients +
-    * reduce buffer sizes (HTTP response buffer) +
-    * avoid repeated dynamic allocations in the HTTP thread +
-    * consider increasing heap pool size only if you have flash/RAM headroom +
-  * Browser connects but gets no response: +
-    * verify socket calls are using Zephyr’s socket headers +
-    * verify server binds to INADDR_ANY on the chosen port +
-    * ensure response includes valid HTTP headers and CRLF+
  
  
iothings/laboratoare/2025/lab12.1767472921.txt.gz · Last modified: 2026/01/03 22:42 by dan.tudose
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0