Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with Node-red on RPi2 connect multiple Ti SensorTags #109

Closed
LuckyTiger opened this issue Mar 27, 2015 · 13 comments
Closed

Problem with Node-red on RPi2 connect multiple Ti SensorTags #109

LuckyTiger opened this issue Mar 27, 2015 · 13 comments
Labels

Comments

@LuckyTiger
Copy link

Environment:
Board: Raspberry Pi 2(Running RASPBIAN)
Bluetooth Adapter: ORICO BTA-403
BLE device: Ti SensorTag CC2541
image
the first SensorTag works fine.
but the SensorTag2 does not work.(no sign of the Adapter)
they have different UUIDs.
I just want to ask How can i speak with multiple SensorTags?

@LuckyTiger
Copy link
Author

2015-03-27 11 02 59

@hardillb
Copy link
Member

I've been on holiday and I've lent my 2 sensorTags to somebody. When I get them back I'll try and find some time to have a look at this.

@hardillb
Copy link
Member

hardillb commented Apr 7, 2015

Having had a bit of a play with the underlying library, it seams it will only bind to one tag at a time.

@vielmetti
Copy link

The underlying library is node-sensortag and noble and bluez (on Linux), and @sandeepmistry should know more.

@dceejay
Copy link
Member

dceejay commented Apr 8, 2015

Closing for now as not much we can do about it - apart from hassle upstream.

@dceejay dceejay closed this as completed Apr 8, 2015
@sandeepmistry
Copy link

SensorTag.discover only discovers a single SensorTag

The new unpublished 1.0.0 release includes a SensorTag.discoverAll and SensorTag.discoverByUuid API.

@hardillb
Copy link
Member

hardillb commented Apr 9, 2015

@sandeepmistry I'm using the head code, but I still can't get it to connect to more than one tag at once. I'll open an issue against node-sensortag with the sample code I've been trying

@vielmetti
Copy link

The relevant upstream issue is sandeepmistry/node-sensortag#37 if you're following along.

@vielmetti
Copy link

It might make sense @dceejay to split out node-red-node-sensortag as its own repo and npm - I know that's the long term plan for all of these nodes, but there's a fair bit of dependencies to sort through and the cleaner packaging would let us tweak things faster.

@dceejay
Copy link
Member

dceejay commented Apr 9, 2015

Ed, Thanks but no. I'd prefer to keep them in one repo for now - they are already individually published to npm so installing them for non-developers is no problem. (and developers only need the pre-reqs for the nodes they are interested in.)

@dceejay
Copy link
Member

dceejay commented Sep 11, 2015

Reopened - as per vielmetti comment in #107 (now closed)

@dceejay dceejay reopened this Sep 11, 2015
@dceejay
Copy link
Member

dceejay commented Dec 1, 2015

A 3rd party node https://github.com/ibm-iot/node-red-contrib-sensortag supports multiple tags.
So we will probably deprecate this version over time.
Use that as an alternative if you need multiple tags.
Will close this if no-one objects...

@vielmetti
Copy link

Super! Glad to see this, looking forward to trying it out.

@dceejay dceejay closed this as completed Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants