217
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
Miscellaneous
property returns the version of the TiOS (firmware) running on
your device.
method can be used to halt the execution of your program. For
example, you can use this to halt the program when the Ethernet interface failure
is detected:
...
if
net.failure= YES
then
sys.halt
end
if
...
method causes the device to reboot. This may be needed, for
instance, to change the mode of the
.
read-only property informs whether the device is running in
the release or debug mode. This data can be used by the program to exhibit
different behavior- for example report all errors in the debug mode and try to
"manage on its own" in the release mode (for more info see
).
read-only property tells you what caused the most recent
reset experienced by your device.
8.3.1.2
Properties, Methods, Events
This section provides an alphabetical list of all properties, methods, and events of
the sys object.
.Buffalloc Method
Function:
Allocates buffer memory as previously requested by
"buffrq" methods of individual objects (such as
).
Syntax:
sys.buffalloc
Returns:
---
See Also:
Details
Call this method after requesting all buffers you need through methods like
and
.
This method takes significant amount of time (100s of milliseconds) to execute,
during which time the device cannot receive network packets, serial data, etc. For
certain interfaces like serial ports some incoming data could be lost.
Buffer (re)allocation for a specific object will only work if the corresponding object
or part of the object to which this buffer belongs is idle. "Part" refers to a particular
serial port of the
object, or particular socket of the
object, etc. to
223
219
221
215
221
27
222
262
223
218
265
329
224
274