We tried all examples with wifi for ESP8266. Including created an access point.
We looked at similar error topics on the forum, and did as the advice was there.
We flashed Lisp three times in the Arduino IDE for our three new boards.
We tried different combinations of running examples and their frequency…
However, the result is always missing.
The mobile phone or laptop sees the hotspot and easily connects to it.
However, it is not possible to get a page from a browser or, in another example, connect a terminal program via WiFi.
We invariably get "192.168.4.1 - This site cannot be accessed!
Here is one of the code options:
(defun println (x s) (princ x s)
(princ #\return s) (princ #\newline s))
(defun webpage ()
(loop
(with-client (s)
(loop
(let ((line (read-line s)))
(when (null line) (return))
(print line)))
(println "HTTP/1.1 200 OK" s)
(println "Content-Type: text/html" s)
(println "Connection: close" s)
(println "" s)
(princ "< !DOCTYPE HTML ><html><body><h1>ADC Value: " s)
(princ (analogread 0) s)
(println "</h1></body></html>" s)
(println "" s))
(delay 5000)))
;; Start
;; (wifi-softap "Bonzo")
;; (webpage)