Skip to content

Conversation

@aichase
Copy link

@aichase aichase commented Sep 12, 2016

usage: python BleHost.py <your sensor address> <random or public>
This program will continually trying to connect the ble sensor, and get the data.
Remember to replace the uuid first.

Chason added 3 commits September 12, 2016 11:00
usage: python BleHost.py <your sensor address>  <random or public>
this program will continually trying to connect the ble sensor, and get
the data.
remember to replace the uuid first.
try:
srv = per.getServiceByUUID(self.srv_uuid)

chrc = srv.getCharacteristics(self.acc_uuid)[0]
Copy link

@jhgorse jhgorse Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is acc_uuid defined?

import struct
import sys
import time
import sys
Copy link

@jhgorse jhgorse Mar 28, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Redundant import of sys.

@jhgorse
Copy link

jhgorse commented Mar 28, 2019

Remove the threading. It gets in the way of the demonstration of the library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants