Name

io.veea.VeeaHub.Info

Methods

HardwareType            (OUT s                     hardware_type);
HardwarePcba            (OUT s                     hardware_pcba);
HardwareRevision        (OUT s                     hardware_revision);
Model                   (OUT s                     model);
BoardType               (OUT s                     board_type);
CpuTemperature          (OUT i                     cpu_temperature);
CellularDriverVersion   (OUT s                     cellular_driver_version);
ManufacturerSerial      (OUT s                     manufacturer_serial);
SocSerial               (OUT s                     soc_serial);
VeeaSerial              (OUT s                     veea_serial);
BatteryIsGood           (OUT (ib)                  battery_is_good);
LastRebootTime          (OUT (is)                  last_reboot_time);
LastRecoveryTime        (OUT (is)                  last_recovery_time);
ActiveSystem            (OUT s                     active_system_uuid);
Hostname                (OUT s                     hostname);
OSVersion               (OUT s                     OSVersion);
PlatformSoftware        (OUT a(issssis)            platform_software_list);
SoftwareVersion         (OUT s                     software_version);
StorageCapacity         (OUT a{s(sssssss)}         file_system_list);
Memory                  (OUT a{ss}                 meminfo);
LoadAvg                 (OUT (ssssss)              load_avg);
Cpu                     (OUT (atatatatatattiiiiai) cpu_info);
ProductFeatures         (OUT a{ss}                 product_features_info);
ProductSerial           (OUT (sssssssssss)         product_serial_info);
SerialNumberDecode      (OUT a{sv}                 info);
BootCount               (OUT i                     boot_count);
BootCrc                 (OUT u                     boot_crc);
BootMagic               (OUT u                     boot_magic);
LastBootCount           (OUT i                     last_boot_count);
LastResetReason         (OUT (is)                  last_reset_reason);
LastSystemState         (OUT (is)                  last_system_state);
RequestSystem           (OUT (is)                  request_system);
ResetReason             (OUT (is)                  reset_reason);
RunningSystem           (OUT (is)                  running_system);
SystemState             (OUT (is)                  system_state);
HardwareModuleInventory (OUT a(sssss)              hardware_module_inventory_list);
HardwareInventoryDetail (OUT (ia{sv})              hardware_inventory_detail_report);
NodeType                (OUT s                     node_type);
NodeCountry             (OUT s                     node_country);
MeshUUID                (OUT s                     MeshUUID);
BaseMACAddress          (OUT s                     board_mac_address);
MACAddressNumber        (OUT i                     board_mac_address_number);
OwnerUUID               (OUT s                     OwnerUUID);

Method Details

The Memory() method

Memory (OUT a{ss} meminfo);

Returns a dictionary of all items from /proc/meminfo.

See the meminfo specification for description of all items returned in /proc/meminfo

EntryDescription
s => Keye.g., 'MemTotal'
s => Valuee.g., '879264 kB'

Allow: context=default

OUT a{ss} meminfo:

The dictionary of memory info

The LoadAvg() method

LoadAvg (OUT (ssssss) load_avg);

Returns all items from /proc/loadavg.

See the loadavg specification for description of all items returned in /proc/loadavg

EntryDescription
s => Average 1 minute 
s => Average 5 minutes 
s => Average 15 minutes 
s => Number of running processes and threads 
s => Number of scheduled processes and threads 
s => Most recently created PID 

Allow: context=default

OUT (ssssss) load_avg:

Load average

The Cpu() method

Cpu (OUT (atatatatatattiiiiai) cpu_info);

Returns all info from /proc/stat

See the stat specification for description of all items returned in /proc/loadavg

EntryDescription
ai => cpuarray of int e.g., 18381 0 27635 89617892 7560 0 163720 0 0 0
ai => cpu0array of int e.g., 4807 0 9291 21441860 292 0 163718 0 0 0
ai => cpu1array of int e.g., 6181 0 6701 22719014 63 0 0 0 0 0
ai => cpu2array of int e.g., 3252 0 4790 22722657 7142 0 2 0 0 0
ai => cpu3array of int e.g., 4141 0 6853 22734360 61 0 0 0 0 0
ai => intrarray of int e.g., 995944649 0 0 0 0 0 0 0 0 0 0 0 0 ........
i => ctxtint e.g., 22719264
i => btimeint e.g., 1552683394
i => processesint e.g., 96912
i => procs_runningint e.g., 1
i => procs_blockedint e.g., 0
ai => softirq array of inte.g., 24297677 2398271 8381593 45496 297213 218858 0 552057 8479017 0 3925172

Allow: context=default

OUT (atatatatatattiiiiai) cpu_info:

Stat info

The ProductSerial() method

ProductSerial (OUT (sssssssssss) product_serial_info);

DEPRECATED - superseded by SerialNumberDecode

Decodes product serial number and returns the following values:

These values above are encoded into a VeeaHub serial number and the encoding definition is documented in the serial number specification.

EntryDescription
VeeaHub Serial Number 
Model 
Hardware Revision 
Country Of Origin 
Color 
LTE Backhaul 
LTE Access 
Module/Feature Bitmap 
Module/Feature List 
Mem DDR/Flash (units 1GB) 
Unique ID 

Allow: context=default

OUT (sssssssssss) product_serial_info:

Product serial info

Warning

The ProductSerial() method is deprecated.

The SerialNumberDecode() method

SerialNumberDecode (OUT a{sv} info);

Decodes the product serial number and returns a dictionary with the following values:

These values above are encoded into a VeeaHub serial number and the encoding definition is documented in the serial number specification.

EntryTypeValues
serial_numbersFull serial number (20 characters)
modelsVHC05, VHC25, VHE06, VHE09, VHE10, VHE20, VHH06, VHH09, VHH10, VHHR06, PS2
hardware_revisionsA-Z
country_of_originsUS, China, Korea, Great Britain, Taiwan, Japan, India
colorsBlack, White
lte_backhaulsNone, Quectel ECxxx, Quectel EGxxx
lte_accesssNone
module_feature_bitmapy0x00-0xff
module_feature_listasArray of strings (e.g., ["Nortek Zigbee", "Nortek Zwave"])
ddr_in_gbu1, 2, 4, 8
ddr_typesnon-ECC, ECC
flash_in_gbu32
unique_ids8 digits (00000000 - 99999999)
lorawansNone, RG-1058M, RG-1018M, RG-1008M

Allow: context=default

OUT a{sv} info:

Product serial info decoded as a dictionary