code: function findDevice()
  {
  	disconnectDevice()
  
  	// Used for debugging/testing.
  	//scanForDevice()
  	//return
  
  	searchForBondedDevice({
  		name: 'HEXIWEAR',
  		serviceUUIDs: [INFO_SERVICE],
  		onFound: connectToDevice,
  		onNotFound: scanForDevice,
  		})
  }
docs: End of code used for testing.