bleAcceptFilterRemove (Function)

Top  Previous  Next

Architecture:

NX32L

Device support:

LX2

Firmware version:

2.20.00


 

This function removes a MAC address from the accept filter.

 

Input:

MAC: STRING

The MAC address to remove from the accept filter.

 

 

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).

-8

-

_BLE_ERR_INVAL


Invalid MAC address.

-99

-

_BLE_ERR_GENERIC


Failed to remove address.

 

 

Declaration:

FUNCTION bleAcceptFilterRemove : INT;
VAR_INPUT
  MAC       : STRING;
END_VAR;

 

Example:

...
// Remove MAC address from accept filter
rc := bleAcceptFilterRemove(mac:="rE3:1C:E6:43:F5:2D");
...