Network.sendRawData()

Overview

Sends raw data directly to the host. The data is not processed through standard processing, but is sent directly to the host.

The byte sequence used in this API is a byte array encoded as a string. Each character in the string represents a byte value and should be between '\x00' and '\xff'.

Added in version 2.1.5

Format

Network.sendRawData();

Value Description Type Required
data The outgoing byte values to send to the host. String Required

Example

Copy
/* Send telnet timing mark to host
*/
Network.sendRawData('\xff\xfd\x06');