PPLTool

Type

SwitchKit API message

Purpose

Use the PPLTool message to send either a hex format configuration (*.cfg) or a *.rep file (generated from Excel’s technical support) to a specified node.

Description

This message downloads either a *.rep file or a *.cfg file (but not both) to the switch.

Sent by

SwitchManager

Arguments

The following table shows the user modifiable arguments of this message:

Argument

Description

Node

The node ID the file is destined for.

cfgFile

The *.cfg filename of the file to parse and send.

repFile

The *.rep filename of the file to parse and send.

Configuration

To download a PPL rep file:

pplTool(

Node = integer,

repFile = quoted string);

To download a configuration file:

pplTool(

Node = integer,

cfgFile = quoted string);

C Structure

typedef struct {

char RepFile[100];

char CfgFile[100];

} SK_PPLTool;

C++ Class

class SKC_PPLTool : public SKC_DummyMessage {

public:

const char *getRepFile() const;

void setRepFile(const char *x);

const char *getCfgFile() const;

void setCfgFile(const char *x);

};