Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oroce/tist
Texas Instruments SensorTag wrapper
https://github.com/oroce/tist
Last synced: about 1 month ago
JSON representation
Texas Instruments SensorTag wrapper
- Host: GitHub
- URL: https://github.com/oroce/tist
- Owner: oroce
- Created: 2014-06-01T16:16:38.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-06T13:32:03.000Z (over 10 years ago)
- Last Synced: 2024-11-20T05:12:27.032Z (about 1 month ago)
- Language: JavaScript
- Size: 160 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Tist - Texas Instruments SensorTag
Wrapper around @sandeepmistry's amazing [https://github.com/sandeepmistry/node-sensortag](sensortag) module.
### Features
* [x] notify, enable sensors
* [x] uuid filtering
* [x] restarting discovering if device disconnects### Example
var Tist = require('tist');
var tist = new Tist();
tist.on('device', function(device) {
device
.once('disconnect', function(){
device.removeAllListeners();
})
.on('metric', function() {
var args = [].slice.call(arguments);
console.log.apply(console, ['metric arrived:'].concat(args));
});
});### License
MIT