Payload Variant
from field: meshtastic.Config.DeviceConfig device = 1;
from field: meshtastic.Config.PositionConfig position = 2;
from field: meshtastic.Config.PowerConfig power = 3;
from field: meshtastic.Config.NetworkConfig network = 4;
from field: meshtastic.Config.DisplayConfig display = 5;
from field: meshtastic.Config.LoRaConfig lora = 6;
from field: meshtastic.Config.BluetoothConfig bluetooth = 7;
Optional
value?: undefinedfrom oneof meshtastic.Config.payload_variant
Static
Readonly
fieldsStatic
Readonly
runtimeStatic
Readonly
typeParse from binary data, merging fields.
Repeated fields are appended. Map entries are added, overwriting existing keys.
If a message field is already present, it will be merged with the new data.
Optional
options: Partial<BinaryReadOptions>Protected
toJSONOverride for serialization behavior. This will be invoked when calling JSON.stringify on this message (i.e. JSON.stringify(msg)).
Note that this will not serialize google.protobuf.Any with a packed message because the protobuf JSON format specifies that it needs to be unpacked, and this is only possible with a type registry to look up the message type. As a result, attempting to serialize a message with this type will throw an Error.
This method is protected because you should not need to invoke it directly -- instead use JSON.stringify or toJsonString for stringified JSON. Alternatively, if actual JSON is desired, you should use toJson.
Static
equalsStatic
fromStatic
fromStatic
fromGenerated using TypeDoc
Generated
from message meshtastic.Config