btleServiceDisconnect()

Disconnects from an established service.

Synopsis

int btleServiceDisconnect(int serviceId);

Parameters

Parameter Description
serviceId Id of the bluetooth service.

Return Value

Returns 0 on success, or -1 on error (e.g. illegal Id given).

Description

Disconnect from the given service represented by the id, which is the return value from a previous btleServiceConnect() call.

Assignment

Mobile UI control functions

Availability

UI