Skip to content

apoorva-dave/Bluetooth-Communication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bluetooth-Communication

Communicating with RFCOMM using python

Sample application to show how bluetooth feature can be used for communication using python

Dependencies

  1. Python 3
  2. PyBluez - Bluetooth Python extension module. Use pip install PyBluez to install

That's it!

Setup

There are 3 files in this repository -

  1. discover.py - discovers nearby bluetooth devices
  2. rfcomm-server.py - server side connection file
  3. rfcomm-client.py - client side connection file

How to run?

I used two laptops. 1 windows laptop to make server and 1 mac laptop to make client.

Run rfcomm-server.py on windows laptop

Capture

Run rfcomm-client.py on mac laptop

WhatsApp Image 2020-03-29 at 12 05 12 AM

References

https://people.csail.mit.edu/albert/bluez-intro/

Releases

No releases published

Packages

No packages published

Languages