Skip to content

mohdrashid/raspberrypi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

#Raspberry Server Communication This project was started to create a module which can be used to help raspberry pi communicate with servers located in the internet, allowing it access data of other devices or pass collected data to server so that others can make use of it.

Use the sudo command below to move created header file [server_io.py] to python library folder in Raspberry Pi

sudo mv ~/place_where_its_located/server_io.py /usr/lib/pythonx.y
replace x.y with persion number of your python compiler

Once done the header can be imported by writing the following command in python:

import server_io as Server

To access function in the header use Server.FunctionName() after importing the header. For example to get mac address, use Server.get_mac()

Releases

No releases published

Packages

No packages published