Giter Club home page Giter Club logo

wban's Introduction

WBAN

Wireless Body Area Network Simulation via Network programming

Institute : NITRR

All rights reserved to the Authors

Authors : Harsh Pathak , Vipul Bajaj , N pooja

Instuctor : Dr. Manu Vardhan

Language used : Python

Build instructions

LINUX

Chances are your Distro already came with Python2

Cross check by opening terminal and typing python and hit enter

1) Installing python if not already on your system

For debain based distros (Ubuntu and mint) you can easily install Python 2 with the following commands:

$ sudo apt-get update

$ sudo apt-get install python2.7

MAKE SURE YOU RUN THESE 2 Commands (FOR INSTALLING PIP AND PYCRYPTO)

$ sudo apt install python-pip

$ pip install pycrypto

2)Checking that python was successfully installed

To cross check if Python was successfully installed Open your terminal and enter

$ python

and it will show you the version and other details.

3) Running the project

3a) Download the project and unzip it

3b)Open 2 terminals , first one for the PServer.py and second one for Sensor.py

3c)change the directory to where your have unzipped the project in both the terminals

INTERPRETING THE SCRIPTS

Terminal_One $ python PServer.py

Terminal_two $ python Sensor.py

WINDOWS

1)DOWNLOAD AND INSTALL PYTHON 2.7

2)SETUP THE PATH VARIABLE

Open Control Panel, then System

Click 'Advanced system settings' on the left

Click the 'Environment Variables' button

Just add C:\Python27;

3)DOWNLOAD AND INSTALL PIP

NOTE : To use pip you must add the C:\Python27\Scripts; into your path variables.

To cross check if the installation was sucessful , Open CMD and type pip and hit enter.

4) INSTALLING PYCRPTO LIBRARY

cmd Terminal >pip install pyCrypto

Just in case it doesnt work type you can try

cmd Terminal > pip install pycryptodome

5)CHANGE DIRECTORY TO WHERE YOU SCRIPT IS

6)OPEN CMD AND TYPE

C:\Desktop > python PServer.py

C:\Desktop > python Sensor.py

wban's People

Contributors

harsh9607 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.