code: function(errorCode)
  			{
  				// DEBUG LOG
  				console.log('BLE connect error: ' + errorCode);
  			
  				// Set isConnected to false on error.
  				device.__isConnected = false;
  				internal.connectedDevices[device.address] = null;
  				fail(errorCode);
  			}
docs: Error callback.