Spring 2022 IOT Assignments NCSU
Implements a HTTP client in python that can connect with a HTTP server to transfer data between a Raspberry Pi and a PC.
Code highlights
- Python requests module was used to implement the HTTP client
- Python time module was used to benchmark the file transfer time
- Python statistics module was used to average the time and calculate standard deviation
pip install python
- Requires python 3.7.4 or later
pip install requests
- Abstracted HTTP library that can be used to request and decode data from a HTTP server
- HTTP module comes pre-installed with python 3.7.4 or later
A HTTP server was deployed on Port 8081 from the above location using the python cmd, “python –m http.server 8081”