bool sendBytes(string alias, string bytes)

This function can be used to send bytes to the Bluetooth device.

Parameters

Name Description
alias The alias identifying the device.
bytes The data to send, formatted as a JSON string with an array of bytes.

Return

True if successful, false otherwise.