Senddata, Senddatawlen, Senddatasync – MagTek MTBLUETOOTH.OCX User Manual

Page 15

Advertising
background image

Methods

11


SENDDATA
This function sends a string to the reader and returns a boolean value of true if the data was sent.

Syntax

CtlMTBluetooth1.SendData(Data as String) As Boolean

The SendData method syntax has these parts:

Part

Description

Data

A string value that is sent to the
reader.

Remarks
This Command does not require the length to be included in the command. The response can be
accessed from the property CommandOutput.


Data Type

Boolean


SENDDATAWLEN
This function sends a string to the reader and returns a boolean value of true if the data was sent.

Syntax

CtlMTBluetooth1.SendDataWlen(Data as String) As Boolean

The SendDataWlen method syntax has these parts:

Part

Description

Data

A string value that is sent to the
reader.

Remarks
This Command does require the length to be included in the command. The response can be
accessed from the property CommandOutput.


Data Type

Boolean



SENDDATASYNC
This function sends a string and a variant to the reader and returns a boolean value of true if the
data was sent.

Syntax

CtlMTBluetooth1.SendDataSync(Data as String, Response as Variant) As Boolean

The SendDataSync method syntax has these parts:

Advertising