resetHexId method

Future<CommandResponse> resetHexId(
  1. String deviceId
)

Sends the reset command to the device, which reverts the connection pool ID to the default ('0000').

deviceId - The identifier of the target device.

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

Implementation

Future<CommandResponse> resetHexId(String deviceId) async {
  final directInputKeys = _getDirectInputKeysFromHexId('0000');
  return sendCommand(deviceId, setConnectionPoolId,
      parameters: directInputKeys);
}