xcon.SendHex

Description

Sends binary data given as hex-bytes via an established connection.

Signature

bool xcon.SendHex(handle, data)

Parameters

Name

Type

Mandatory/Optional

Description

Name

Type

Mandatory/Optional

Description

handle

string

M

Handle that identifies the connection within the LUA script.

data

string

M

Data to be sent, has to be in the format "xx xx xx [...]" where x denotes any hex digit.

Return

Type

Description

Type

Description

bool

True when connection is valid, otherwise false.

Â