
native rM2M_GetId(id[TrM2M_Id], len=sizeof id);
Provides the information to identify the module/device
Parameter
Explanation
id
Structure for storing the information to identify the module/device (see "TrM2M_
Id" in chapter "Arrays with symbolic indices" on page 137)
len
Size (in cells) of the structure to store the information - OPTIONAL
Explanation
Return value
l
Size (in cells) of the structure used to store the information
l
ERROR if the address and/or length of the ID structure are invalid (outside
the script data memory)
l
< OK, if another error occurs (see "Return codes for general purposes" in
chapter "Constants" on page 84).
Note:
The firmware of a module/device detects if a script is being used for which
the function only has one transfer parameter (older include file is being used) and
for compatibility reasons therefore returns "OK" instead of the size of the
structure for storing the information.
native heapspace();
Supplies the free memory capacity to the heap
Explanation
Return value
The free memory capacity to the heap. The stack and the heap have a joint
memory area, so that this value specifies the number of bytes that remain for the
stack or the heap.
native funcidx(const name[]);
Supplies the index of a public function
Parameter
Explanation
name
Name of the public function
Explanation
Return value
l
-1, if there is no function with the transferred name
l
Index of the public function
native numargs();
Returns the number of arguments transferred to a function
Explanation
Return value
The number of arguments that have been transferred to a function. numargs is
useful within functions with a variable list of arguments.
142
Rev. 01
Содержание myDatalogEASY IoTmini
Страница 2: ......
Страница 11: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 01 11 ...
Страница 12: ......
Страница 34: ......
Страница 66: ......
Страница 78: ......
Страница 82: ......
Страница 186: ......
Страница 194: ......
Страница 196: ......
Страница 202: ......
Страница 205: ...Chapter 19 Document history Chapter 19 Document history Rev Date Changes 01 28 08 2020 First version Rev 01 205 ...
Страница 206: ......
Страница 208: ......