Skip to content

anik123/Duplex-Communication-between-raspberry-pie-and-android-using-Bluetooth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Duplex Communication between Android and Raspberry pi using Bluetooth

Raspberry pie is done using python 2.7. I have used pyBluez for the communication.

I have just followed the following command to install pyBluez

sudo apt-get update
sudo apt-get install python-pip python-dev ipython

sudo apt-get install bluetooth libbluetooth-dev
sudo pip install pybluez

I have got two error while using pyBluez

bluetooth.btcommon.BluetoothError: (2, 'No such file or directory')

I have followed this article to solve the issue

bluetooth.btcommon.BluetoothError: (13, 'Permission denied')

I have followed this article to solve the issue.

In the android part, You have to add the following permission in AndroidManifest.xml

<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />

I have used maual pairing system in order to communicate. I will work on the auto pairing system. When i do, i will update this git.

If you have any issue, feel free to create issue.

Thanks.

About

Duplex Communication between Android and Raspberry pi using Bluetooth

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published