
TrM2M_Id
Information for identifying the module/device
// string
rapidM2M module identification (e.g. "rapidM2M EasyIoT
HW1.1")
// module
rapidM2M module type (e.g. "EasyIoT")
// hwmajor
Hardware: Major version number
// hwminor
Hardware: Minor version number
// sn
Device serial number (binary) in BIG endian format
//
E.g.: "010146AF251CED1C" --> "01" in sn{0}, "1C" in sn{7}
// fwmajor
Firmware: Major version number
// fwminor
Firmware: Minor version number
// ctx
Site title (context)
//
Empty string if no context available
#define TrM2M_Id[
.string{50}, .module{10}, .hwmajor, .hwminor,
.sn{8}, .fwmajor, .fwminor, .ctx{50}
]
TRTM_Data
Information regarding the runtime measurement
// runtime
Determined runtime in [ms]
// instructions
Number of executed pawn instructions
// tmp
For internal use, no write access permitted
#define TRTM_Data[.runtime, .instructions, .tmp[3]]
12.3.13.2 Constants
Error codes for the "CalcTable" and "CalcTableF" functions
const
{
TAB_ERR_FLOOR = -1, // searched value lower than the first table entry
TAB_ERR_CEIL = -2,
// searched value higher than the last table entry
};
12.3.13.3 Functions
native getapilevel();
Issues the implemented API level of the script engine
Explanation
Return value
Implemented API level of the script engine
138
Rev. 01