Skip to content

gustavorv86/py_bluez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages