Merge pull request #61 from KomelT/patch-1

Update README.md
This commit is contained in:
Liam Cottle
2024-08-20 11:15:38 +12:00
committed by GitHub

View File

@ -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.