@ -16,7 +16,7 @@ My version of the map is available at https://meshtastic.liamcottle.net
|
|||||||
|
|
||||||
## How does it work?
|
## How does it work?
|
||||||
|
|
||||||
- An [mqtt client](./src/mqtt.js) is persistently connected to `mqtt.meshtastic.org` and subscribed to the `#` topic.
|
- An [mqtt client](./src/mqtt.js) is persistently connected to `mqtt.meshtastic.org` and subscribed to the `msh/#` topic.
|
||||||
- All messages received are attempted to be decoded as [ServiceEnvelope](https://buf.build/meshtastic/protobufs/docs/main:meshtastic#meshtastic.ServiceEnvelope) packets.
|
- All messages received are attempted to be decoded as [ServiceEnvelope](https://buf.build/meshtastic/protobufs/docs/main:meshtastic#meshtastic.ServiceEnvelope) packets.
|
||||||
- If a packet is encrypted, it attempts to decrypt it with the default `AQ==` key.
|
- If a packet is encrypted, it attempts to decrypt it with the default `AQ==` key.
|
||||||
- If a packet can't be decoded as a `ServiceEnvelope`, it is ignored.
|
- If a packet can't be decoded as a `ServiceEnvelope`, it is ignored.
|
||||||
|
Reference in New Issue
Block a user