gustavorv86 / py_bluez

Client and Server RFCOMM written in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

py_bluez Client and Server

Client and Server RFCOMM written in Python

What you need

Install the next software.

sudo apt-get install git bluez libbluetooth-dev

Install python pybluez module.

pip3 install pybluez

Clone this repository.

git clone https://github.com/gustavorv86/py_bluez

Server

Show the bluetooth devices.

hciconfig -a

Configure the bluetooth device.

hciconfig hci0 piscan

Run the server.

python3 pyBluez/pyBluezServer.py **<server_port_number>**

Client

Send message from the client to the server.

python3 pyBluez/pyBluezClient.py **<mac_server>** **<server_port_number>** **<"Message to send">**

About

Client and Server RFCOMM written in Python

License:GNU General Public License v3.0


Languages

Language:Python 100.0%