Started development

Started development by begginning to merge with locally developed
technology research code.

btle plugin used:
com.randdusing.bluetoothle
Started connect inclusion. Not tested
Skeleton functions for reconnect added
Filled in reconnect methods. Not tested as of yet
Added disconnect methods. Not tested yet
started bridging with processing. messaging started
subscription to read and errors added
write should now be possible. If temporary disconnected, reconnect attempt is made
Added some error notifications
Added debug out. Ready for test
fixed paranthesis write error
Added missing '=' in bridge definition
Write error fixed

Currently testing connection, subscription and sending to UART.
Get connected to device.
Subscription fails.
Send does not do anything yet
Added some debugging code
Source of connection problems probably detected

Discovery of service is not performed, and this might result in problems.
For now we will focus on processing.js integration
Started adding Processing.js

Processing.js.min added. Licences for processing included.
Interrupted in middle of work session
Processing.js now integrated

Assumed place for *.pde is http://folk.ntnu.no/[USERNAME]/plab/plab.pde
ONLY this pde can be loaded at this moment.
Bridge to javascript updated. setSize() caused issues with rezising of
canvas.
A security issue may be that the pde is not checked in any way before
load. However a student should be able to control the pde he or she
visits.
Next step is to continue with bluetooth integration
Removed some commented out code
Connects to bluetooth on android. Device plugin

Dependency on device plugin added:
cordova plugin add org.apache.cordova.device
Can now successfully connect to Bluetooth LE UART devices on android.
Can send messages that are up to 20 bytes long, any longer and they get
truncated.

Next up is to add code for iOS, remove debug alerts etc.
The discovery of services should also be moved to scan stage, such that
ONLY UART devices shows up in connect list.
Added comments, removed testcode