IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

SingleLineMode Property

Special mode for line-oriented protocols.

Syntax

ANSI (Cross Platform)
int GetSingleLineMode();
int SetSingleLineMode(int bSingleLineMode); Unicode (Windows) BOOL GetSingleLineMode();
INT SetSingleLineMode(BOOL bSingleLineMode);
#define PID_BTPORT_SINGLELINEMODE 12

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

When this property is set to True, the class treats the incoming data stream as lines separated by CRLF, CR, or LF. The EOL property is ignored.

AcceptData will be automatically set to False when this property is set to True. Please refer to the GetLine method for more information.

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]