Topic: RATC2 RAW
RATC2 RAW is potentially very useful, but it is hard to find information about it. In RATC2 as in RATC1 devices are identified by their control groups as in MWare. in RATC2 RAW, devices are identified by their internal device id, which can be seen in the Nware Inspector fields. This is very useful, as using control groups in Nware to allow remote control access on a large scale is very very tedious. RATC2 RAW, removes this layer, presumably speeding up the reponses as a result.
here is part of the response to a controlList command, for 5 boolean controls:-
"//devices/31/controls/control_1"
"//devices/31/controls/control_2"
"//devices/31/controls/control_3"
"//devices/31/controls/control_4"
"//devices/31/controls/control_5"
..and here is a control being activated :-
cg //devices/31/controls/control_5
valueIs "//devices/31/controls/control_5" false 0.000
cs //devices/31/controls/control_5 true
valueIs "//devices/31/controls/control_5" true 1.000
HOWEVER the device that can make the best use of this in a large system is Conman.......unfortunately RATC2 RAW is NOT AVAILABLE on Conman in Nware 1.2.6, and is only available for Nions - exactly the devices we are told we should not be using for lots of non audio networked communications. DOH!!!!! Hopefully this is a trivial modification??????
I believe that it is possible to get fast external status updates for certain components such as meters using RATC2 RAW, however I can find no documentation or clues anywhere on how to enable this feature. I presume that it will only be available for certain types of NWare components?
Here is the only reference I have found to this while poking around inside some of the current 1.2.6 system firmware:-
Usage:
%s /dev/raw/rawN <major> <minor>
%s /dev/raw/rawN /dev/<blockdev>
%s -q /dev/raw/rawN
%s -qa
Cannot locate raw device '%s' (%s)
raw device '%s' is not a character dev
Device '%s' is not a raw dev
Cannot locate block device '%s' (%s)
Device '%s' is not a block dev
/dev/rawctlCannot open master raw device '/dev/rawctl' (%s)
Error querying raw device (%s)
/dev/raw/raw%d: bound to major %d, minor %d
Error setting raw device (%s)