This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var bleno = require('bleno'); | |
var noble = require('noble'); | |
var currentPeripheral = null; | |
noble.on('stateChange', function(state) { | |
console.log("stateChange " + state); | |
if (state === 'poweredOn') { | |
console.log("start peripheral discovery"); | |
noble.startScanning(); | |
startIBeaconAdvertising(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######################################################################## | |
#### Custom Preseed Amlin Europe using Ubiquity | |
### By Kelly Crabbé for Amlin Europe | |
### Tested on Ubuntu Trusty Thral 14.04 LTS | |
#################################################################### | |
# General | |
#################################################################### | |
# Once installation is complete, automatically power off. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env python3.5 | |
""" | |
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04 and also debian jessie, with bluez5. | |
Workaround for bug: https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1577197 | |
Run it with python3.5 or higher after pairing/connecting the bluetooth stereo headphone. | |
This will be only fixes the bluez5 problem mentioned above . |