Options
All
  • Public
  • Public/Protected
  • All
Menu

Unique local debugging info for this node Note: we don't include position or the user info, because that will come in the Sent to the phone in response to WantNodes.

generated

from protobuf message MyNodeInfo

Hierarchy

  • MyNodeInfo

Index

Properties

errorAddress

errorAddress: number

A numeric error address (nonzero if available)

generated

from protobuf field: uint32 error_address = 8;

errorCode

An error message we'd like to report back to the mothership through analytics. It indicates a serious bug occurred on the device, the device coped with it, but we still want to tell the devs about the bug. This field will be cleared after the phone reads MyNodeInfo (i.e. it will only be reported once) a numeric error code to go with error message, zero means no error

generated

from protobuf field: CriticalErrorCode error_code = 7;

errorCount

errorCount: number

The total number of errors this node has ever encountered (well - since the last time we discarded preferences)

generated

from protobuf field: uint32 error_count = 9;

firmwareVersion

firmwareVersion: string

0.0.5 etc...

generated

from protobuf field: string firmware_version = 6;

hasGps

hasGps: boolean

Note: This flag merely means we detected a hardware GPS in our node. Not the same as UserPreferences.location_sharing

generated

from protobuf field: bool has_gps = 2;

hwModelDeprecated

hwModelDeprecated: string

TBEAM, HELTEC, etc... Starting in 1.2.11 moved to hw_model enum in the NodeInfo object. Apps will still need the string here for older builds (so OTA update can find the right image), but if the enum is available it will be used instead.

deprecated
generated

from protobuf field: string hw_model_deprecated = 5 [deprecated = true];

maxChannels

maxChannels: number

The maximum number of 'software' channels that can be set on this node.

generated

from protobuf field: uint32 max_channels = 15;

messageTimeoutMsec

messageTimeoutMsec: number

How long before we consider a message abandoned and we can clear our caches of any messages in flight Normally quite large to handle the worst case message delivery time, 5 minutes. Formerly called FLOOD_EXPIRE_TIME in the device code

generated

from protobuf field: uint32 message_timeout_msec = 13;

minAppVersion

minAppVersion: number

The minimum app version that can talk to this device. Phone/PC apps should compare this to their build number and if too low tell the user they must update their app

generated

from protobuf field: uint32 min_app_version = 14;

myNodeNum

myNodeNum: number

Tells the phone what our node number is, default starting value is lowbyte of macaddr, but it will be fixed if that is already in use

generated

from protobuf field: uint32 my_node_num = 1;

numBands

numBands: number

of frequencies that can be used (set at build time in the device flash image).

Note: this is different from max_channels, this field is telling the # of frequency bands this node can use. (old name was num_channels)

generated

from protobuf field: uint32 num_bands = 3;

rebootCount

rebootCount: number

The total number of reboots this node has ever encountered (well - since the last time we discarded preferences)

generated

from protobuf field: uint32 reboot_count = 10;

region

region: string

Deprecated! ONLY USED IN DEVICE CODE (for upgrading old 1.0 firmwares) DO NOT READ ELSEWHERE. The region code for my radio (US, CN, etc...) Note: This string is deprecated. The 1.0 builds populate it based on the flashed firmware name. But for newer builds this string will be unpopulated (missing/null). For those builds you should instead look at the new read/write region enum in UserSettings The format of this string was 1.0-US or 1.0-CN etc.. Or empty string if unset.

deprecated
generated

from protobuf field: string region = 4 [deprecated = true];

Generated using TypeDoc