StdSctInitCmds

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
ScriptContext

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


This is version 1. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


Standard Configuration Commands

The following commands are defined in the namespace stdConfig. The initialisation script should also to be in this namespace, and the name must be identical to the driver name.

controller

  controller std [sendterminator=...] [timeout=...] [replyterminator=...] [lineseparator=...]
  controller bin <crc-algorithm> <timeout>
  controller <other protocol> <protocol args>
Defaults are:
  sendterminator=\n
  timeout=5
  replyterminator=   (means CR/LF or any combination)
  lineseparator=     (means no multiline responses are expected)

Create the controller, if it does not yet exist. For special needs the return value might be inspected. It is 1 when the controller was created, 0 when it existed already.

Other protocols than std and bin might be programmed in the core SICS code, in fact there are already a couple of them made by Mark Koennecke. For some needs, it might be easier to enhance the std or bin protocol.

controllerDesc

  controllerDesc <controller description>

The controller description is an information that appears in the configuration layout. It should clarify to which hardware device it belongs.

pollperiod

  pollperiod <fast poll period> [<slow poll period>]

Change the default period(s). The fast poll period is the poll period used for rd nodes


This particular version was published on 14-Sep-2010 11:38:06 UTC by MarkusZolliker.