The packet id, used to allow the phone to request missing read packets from the FIFO, see our bluetooth docs
Log levels, chosen to match python logging conventions.
Log levels, chosen to match python logging conventions.
Tells the phone what our node number is, can be -1 if we've not yet joined a mesh. NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
One packet is sent for each node in the on radio DB starts over with the first node in our DB
Include a part of the config (was: RadioConfig radio)
Set to send debug console output over our protobuf stream
Sent as true once the device has finished sending all of the responses to want_config recipient should check if this ID matches our original request nonce, if not, it means your config responses haven't started yet. NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
Sent to tell clients the radio has just rebooted. Set to true if present. Not used on all transports, currently just used for the serial console. NOTE: This ID must not change - to keep (minimal) compatibility with <1.2 version of android apps.
Include module config
One packet is sent for each channel
Queue status info
File Transfer Chunk
Device metadata message
MQTT Client Proxy Message (device sending to client / phone for publishing to MQTT)
File system manifest messages
Notification message to the client
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
from
Packets from the radio to the phone will appear on the fromRadio characteristic. It will support READ and NOTIFY. When a new packet arrives the device will BLE notify? It will sit in that descriptor until consumed by the phone, at which point the next item in the FIFO will be populated.
Generated
from message meshtastic.FromRadio