Tini-RPC Interface Guide


Dallas Semiconductor Alpha Release 0.1 (TINI OS 1.02c)

Introduction Interfacing with Tini-RPC Interfacing with ZIM-CGI Extending the System



Introduction

About this release About TINI About the Interactive Mobile Monitoring Network About XML-RPC Technical Support

Interfacing with Tini-RPC

Network Information Input and Output Formats Available XML-RPC Methods Device Field List
Device Classes and Fields for Tini-RPC
Device Class Device Field Type Access Description
tini address
string
R
1-Wire address of the DS2502 chip on TINI in hex format (eight bytes, sixteen characters)
clock
string
R
The current Real Time Clock value on TINI in the same format output by slush's date command.
IP
string
R
TINI's current IP address, such as "180.0.54.9"
upTime
integer
R
Time since the TINI was powered up, in minutes
ppp timeUp
integer
R
Time to keep connection open, in minutes (0 to disable PPP)
timeDown
integer
R
Time between connections, in minutes (0 for continuous connect)
phoneNumber
string
R
Phone number to use to dial ISP, such as "9725554000"
userName
string
None
User name to use for ISP PAP authentication
password
string
None
Password to use for ISP PAP authentication
portName
string
None
The serial port the modem is connected to (such as "serial2")
portSpeed
integer
None
The baud rate to use for the modem (such as 19200)
notifier interval
integer
R
Time between reports, in minutes (0 to disable)
serverURL
string
R
Full URL for XML-RPC POST message
formEncode
boolean
R
If true, url-encode the XML-RPC call to server
formPrefix
string
R
If formEncode is true, include this string before the XML-RPC text
dualSwitch address
string
R
1-Wire address
channelA
boolean
R/W
Setting for output channel A (pulldown active if true)
channelB
boolean
R/W
Setting for output channel B (pulldown active if true)
hygro address
string
R
1-Wire address
humidity
double
R
Current relative humidity from zero to 100 percent
temperature
double
R
Current temperature in degrees Fahrenheit
thermometer address
string
R
1-Wire address
temperature
double
R
Current temperature in degrees Fahrenheit
weather address
string
R
1-Wire address
temperature
double
R
Current temperature in degrees Fahrenheit
windSpeed
integer
R
Current wind speed in miles per hour
windDirection
integer
R
Current wind direction (1-north, 2-north/northeast, 3-northeast, ... 14-northwest, 15-north/northwest)

Error Messages

Interfacing with ZIM-CGI

Network Information Input and Output Formats Available XML-RPC Methods Error Messages

Extending Tini-RPC

Adding New RemoteDevices Using an Alternate XML-RPC Server on TINI