tests/wamp/README
author Edouard Tisserant
Sat, 14 Apr 2018 10:09:33 +0200
changeset 1988 19ca02e8074f
parent 1896 2081de16e726
child 2194 35d6b9321ffd
permissions -rw-r--r--
PLCObject got more methods serialized through worker : Start, Stop, NewPLC.
This particularly helps with initialization/startup/re-load problems
when targeting Xenomai. It should help in general for runtime robustness,
since those operations aren't meant to be executed concurrently.
Crossbar test router configuration is available in .crossbar directory.

Starting command:
crossbar start

This project contains wamp client config to be loaded at runtime startup.

project_files/wampconf.json

wampconf.json is in "Project Files", so it is copied to runtime's working directory, and then loaded after program transfer + runtime restart.

Otherwise, wamp config file path can be forced :
./Beremiz_service.py -c /path/to/my/wampconf.json /working/dir

Otherwise, path for CRA secret can be forced :
./Beremiz_service.py -s /path/to/my/secret /working/dir

Tested on version:
 Crossbar.io        : 17.12.1 (Crossbar.io COMMUNITY)
   Autobahn         : 17.10.1 (with JSON, MessagePack, CBOR, UBJSON)
   Twisted          : 17.9.0-EPollReactor
   LMDB             : 0.93/lmdb-0.9.18
   Python           : 2.7.12/CPython