Navigation Menu

Skip to content

simsong/python-corebluetooth

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample source for CoreBlutooth via PyObjC(Python)

#Overview

Description

This sample source code is writing in how to implementation BLE application using python on OSX. It is using CoreBluetooth Library via PyObjC. Target BLE device is 2JCIE-BL01 OMRON Enviroment sensor.

Tested Version

Mac OSX 10.14.5 Python 3.6 (Anaconda Distribution)

License

MIT LICENCE

Build and Run

##Install PyObjC

You must install pyobjc first. You can try to install it using pip with:

pip install pyobjc

If that fails, you can install it from source downloaded with mecruial:

$ hg clone https://bitbucket.org/ronaldoussoren/pyobjc $ python3 pyobjc/install.py

Finally, you can download and install a pre-compiled verison from:

##Run script

$ cd corebluetooth
$ python corebluetooth_sample.py

See Also

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%