Skip to content

pentairiot/CarlaeServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CarlaeServer is a simple HTTP Server for the PyCom line of WiFi enabled devices

To use, upload HTTPServer to tyour PyCom system and use the http_daemon function in your main.py

Example main.py

From HTTPServer import http_daemon

success = """HTTP/1.1 200 OK
Content-Type: text/html
Connection: close
Server: Carlae"""

def HelloWorld(*args):
  return success


path_to_handler = {
    "/": HelloWorld
}

http_daemon(ssid="Carlae",
            password="c4rl43",
            path_to_handler=path_to_handler)

About

This is a simple HTTP Server implementation for the [PyCom line of WiFi enabled emebedded systems](https://pycom.io/solutions/hardware/)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages