Class: DF1PCCCSettings

DF1PCCCSettings

Provides properties for configuring a DF1 connection

Changes to any properties will only take effect when open or load (depending on the property) is called.


Members


dstId :number

Gets/sets the destination ID for the DF1 messages.

Type:
  • number
Since:
  • 1.0 (WAT 2.2)

fullDuplex :bool

Gets/sets whether to use full (true) or half (false) duplex DF1 mode.

Full duplex must be used in a point-to-point serial configuration (e.g. RS232). Half duplex is typically used in a multi drop serial configuration (e.g. RS485), which requires a WAT serial port that can support that mode.

Type:
  • bool
Since:
  • 1.0 (WAT 2.2)
Default Value:
  • false
See:

mmap :string

Gets/sets the xml description of the memory map. When df1.DF1PCCCClient#load is called, this description is used to create an object tree that can be used to directly access the attributes from JavaScript.

This is typically set after using AJAX to retrieve an xml memory map file. For an example using EIP, see eip.EIPSettings#mmap

Type:
  • string
Since:
  • 1.0 (WAT 2.2)

mmapFile :string

Gets/sets the name of a file in the file system of the uP device (e.g. /wat/mmap.xml) to read the memory map from if mmap is empty when df1.DF1PCCCClient#load is called.

It is often more convenient to use AJAX and mmap to load a memory map.

Type:
  • string
Since:
  • 1.0 (WAT 2.2)
See:

serial :df1.DF1PCCCSerialSettings

Gets an object with the serial port settings.

Type:
Since:
  • 1.0 (WAT 2.2)

srcId :number

Gets/sets the source ID for the DF1 messages.

Type:
  • number
Since:
  • 1.0 (WAT 2.2)

useBCC :bool

Gets/sets whether to use BCC (true) or CRC (false) for error detection.

Type:
  • bool
Since:
  • 1.0 (WAT 2.2)
Default Value:
  • false