Specifications
getInfo(whichInfo) – Get specified system info
This function returns details about the platform and operating environment a script is running under.
Parameter whichInfo specifies the type of information to be retrieved:
0 = Vendor
1 = Radio
2 = CPU
3 = Platform/Broad Firmware Category
4 = Build
5 = Version (Major)
6 = Version (Minor)
7 = Version (Build)
8 = Encryption
9 = RPC Packet Buffer Reference
10 = Is Multicast
11 = Remaining TTL
12 = Remaining Tiny Strings
13 = Remaining Medium Strings
14 = Route Table Size
15 = Routes in Route Table
Based on the value of whichInfo, a value is returned. Many of the following “result codes” will be
expanding in the future. Here are the currently established values:
getInfo(0) – Vendor
The vendor indicates the manufacturer of the radio module on which SNAP is running.
Possible Vendor result codes for getInfo(0):
0 = Synapse
1 = Reserved
2 = Freescale
3 = CEL
4 = ATMEL
5 = Silicon Labs
6 = Reserved
7 = PC
8 = Reserved
9 = STMicrosystems
(to be continued…)
SNAP Reference Manual Document Number 600-0007K Page 51 of 202