##Notes
- Use this demo to get started with Bluetooth LE connection
- Understand this is a Bluetooth Low Energy connection!
- This uses a beta version of [email protected]
- Run tns plugin add [email protected]
- Defualt bluetooth service on RPi3 does not support low energy advertisements. Use the following link to enable experimental low enery feature: [link]https://stackoverflow.com/questions/41351514/leadvertisingmanager1-missing-from-dbus-objectmanager-getmanagedobjects
- To access the bluetooth settings on the RPi run: 'sudo bluetoothctl'
- Found working implementation of Golang BLE [link]https://github.com/currantlabs/ble/tree/master/examples/blesh
- Connect with app in 1
- Steps to recreate
- Use link in 4 to start up BLE server
- In app, scan fot any peripheral
- Connect to Gopher
- Access service: "0001000000011000800000805F9B34FB"
- From here you can read, write
- And subscribe/start notify
- Sends message every second
- To change whatis sent change code in this function: c.HandleNotify(ble.NotifyHandlerFunc(func(req ble.Request, n ble.Notifier) {}
GOARM=6 GOARCH=arm GOOS=linux go build adc.go
##TODO