ServerName Property

Local name of the currently connected server.

Syntax

ANSI (Cross Platform)
char* GetServerName();

Unicode (Windows)
LPWSTR GetServerName();
#define PID_BLECLIENT_SERVERNAME 24

IPWORKSBLE_EXTERNAL void* IPWORKSBLE_CALL IPWorksBLE_BLEClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

Default Value

""

Remarks

When the class is connected to a server, this property contains the server's local name.

If the server's name changes while you're connected to it, the ServerUpdate event will fire with the Name parameter populated, and the new value will be reflected here.

This property is read-only and not available at design time.

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks BLE 2020 C++ Edition - Version 20.0 [Build 8158]