IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

Connected Property

Triggers a connection or disconnection.

Syntax

ANSI (Cross Platform)
int GetConnected();
int SetConnected(int bConnected); Unicode (Windows) BOOL GetConnected();
INT SetConnected(BOOL bConnected);
#define PID_BTPORT_CONNECTED 3

IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTPort_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTPort_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

FALSE

Remarks

This property triggers a connection or disconnection. Setting this property to True makes the class attempt to connect to the host identified by the RemoteHost property. If successful, after the connection is achieved the value of the property changes to True and the Connected event is fired.

Setting this property to False closes the connection. How and when the connection is closed is controlled by the Linger property.

This property is not available at design time.

Data Type

Boolean

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 C++ Edition - Version 20.0 [Build 7941]