examples/core-api/hexiwear-bonding/app.js
function findDevice()
{
	disconnectDevice()

	// Used for debugging/testing.
	//scanForDevice()
	//return

	searchForBondedDevice({
		name: 'HEXIWEAR',
		serviceUUIDs: [INFO_SERVICE],
		onFound: connectToDevice,
		onNotFound: scanForDevice,
		})
}
function findDevice()
{
	disconnectDevice()

	// Used for debugging/testing.
	//scanForDevice()
	//return

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