bleDeviceMacGet (Function)

Top  Previous  Next

Architecture:

NX32L

Firmware version:

2.25.00


 

This function returns the MAC address of a device.

 

 

Input:

dev: SYSHANDLE

Handle to the device to get the MAC address of.

 

 

Returns: STRING

The MAC address of the device.

An empty string is returned on error.

 

Declaration:

FUNCTION bleDeviceMacGet : INT;
VAR_INPUT
   dev   : SYSHANDLE;
END_VAR;

 

Example:

...
   DebugMsg(message:="MAC: " + bleDeviceMacGet(dev := dev));
...