The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Bosch::RCPPlus.pm -- Perl 5 implementation of the Bosch RCP+ remote procedure call.

SYNOPSIS

This package has been developed following Bosch guidelines on implemeting RCP+ over CGI. Most command specification were taken from debugging the Web UI.

  # Create Bosch API client
  my $client = new Bosch::RCPPlus(
    host => $Host,
    username => $Username,
    password => $Password,
  );

  # Call a comman (see lib/Commands.pm for full command list)
  my $name = $client->cmd(Bosch::RCPPlus::Commands::name());

  # Check if command is actually an error
  if ($name->error) {
    print "name failed\n";
    return -1;
  }

  # Print command result
  print 'Name: ' . $name->result . "\n";