Clipsal C-Bus User's Guide Page 19

  • Download
  • Add to my manuals
  • Print
  • Page
    / 60
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 18
cbus Documentation, Release 0.1-dev
<ka cbus_connected="1" />
<cbd_version version="Kona_1.24.0" />
<net_status cni_transparent="0" cni="1" cftp="1" cbus="1" ntp="0" />
<cbus_event app="0xdf" name="cbusTimeChanged" time="120103102012.43" dst="0" ntp="0" />
4.2.4 Project and Skin
It also returns a <Touchscreen> XML which is a form of the project file, and a <skin> XML which contains
localised strings and resource image references.
This can also be downloaded from /clipsal/resources/project.xml and
/clipsal/resources/skin_definition.xml, so you can just establish a connection without requesting
these files over the XMLSocket. Potentially this could be more reliable.
The project file contains all of the programming in use on the Wiser, button assignments and schedules. It can also
contain additional metadata about the installation, if the installer has filled this in.
4.2.5 XMLSocket protocol for dummies
Adobe’s documentation describes the XMLSocket protocol as sending XML documents in either direction on the TCP
socket, terminated by a null character.
It is like a simple version of WebSockets client and server may send data at any time, there is no synchronous
response mechanism, and very easy to implement.
The XML documents sent do not require the typical XML stanzas at the start of the file specifying encoding, and may
also contain multiple top-level (document) elements.
There are third-party client and server libraries available for this protocol.
4.3 Getting a shell
There is console access available via a web interface on the Wiser, using /console.asp. It appears to be taken
from some Belkin or Linksys reference firmware image?
Redirection of output to a file using > doesn’t work correctly in the shell. Regular pipes (|) do work.
Only stdout is displayed, not stderr.
4.3.1 NVRAM
You can dump the NVRAM:
$ nvram show
...
wan_proto=dhcp
wan_ipaddr=0.0.0.0
wan_netmask=0.0.0.0
wan_gateway=0.0.0.0
wan_winsserv=
...
4.3. Getting a shell 15
Page view 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 59 60

Comments to this Manuals

No comments