setPreambleFromString abstract method

Future<CommandResponse> setPreambleFromString({
  1. required String deviceId,
  2. required String preamble,
})

Sets the preamble formatting using a string.

deviceId - The identifier of the target device. preamble - A string used as the preamble, with a maximum length of 8.

Returns a CommandResponse indicating the success or failure of the operation.

Implementation

Future<CommandResponse> setPreambleFromString(
    {required String deviceId, required String preamble});