btleClose()

This function is used to close the access to given bluetooth device.

Synopsis

int btleClose(string address);

Parameters

Parameter Description
address Bluetooth device address

Return Value

Returns 0 on success or -1 if the given address was not opened with btleOpen() before.

Assignment

Mobile UI control functions

Availability

UI

See also

btleOpen(), btDiscoverDevicesStart()