This function returns the current state of the Bluetooth connection.

Syntax

int blt_is_connected(void);

Parameters

None

Return value

Returns the current state of the Bluetooth connection.
ValueDescription
OK Connected.
100 Not connected.
ERROR The communication port is not open.

Remarks

Checks if there is a Bluetooth connection.

Requirements

Header file:
lib.h
Library file:
libSTARTUPOPH5000.a

Last updated: 2020/10/07