bleObserverStop (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

LX2

Firmware version:

2.20.00


 

This function makes the Bluetooth interface stop listening for advertising data.

 

Returns: INT

1

-

_BLE_OK


Success

0

-

_BLE_ERR_NOT_SUPPORTED


The API is not supported.

-1

-

_BLE_ERR_NOT_OPEN


The interface is not powered(see blePower).

-13

-

_BLE_ERR_STATE


Adapter was not listening.

-99

-

_BLE_ERR_GENERIC


Failed to start listening

 

 

Declaration:

FUNCTION bleObserverStop : INT;

 

Example:

...
// Stop listening
rc := bleObserverStop();
...