meshcoredecoder 0.2.3__tar.gz → 0.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {meshcoredecoder-0.2.3/meshcoredecoder.egg-info → meshcoredecoder-0.3.0}/PKG-INFO +78 -10
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/README.md +77 -9
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/cli.py +2 -2
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/index.py +1 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/__init__.py +1 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/packet_decoder.py +16 -8
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/__init__.py +3 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/ack.py +1 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/advert.py +1 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/anon_request.py +1 -1
- meshcoredecoder-0.3.0/meshcoredecoder/decoder/payload_decoders/control.py +206 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/path.py +2 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/request.py +7 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/response.py +2 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/text_message.py +2 -1
- meshcoredecoder-0.3.0/meshcoredecoder/types/enums.py +69 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/types/payloads.py +32 -3
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/utils/enum_names.py +2 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0/meshcoredecoder.egg-info}/PKG-INFO +78 -10
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder.egg-info/SOURCES.txt +1 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/pyproject.toml +1 -1
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/setup.py +1 -1
- meshcoredecoder-0.2.3/meshcoredecoder/types/enums.py +0 -61
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/LICENSE +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/MANIFEST.in +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/crypto/__init__.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/crypto/channel_crypto.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/crypto/ed25519_verifier.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/crypto/key_manager.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/__init__.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/group_data.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/group_text.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/trace.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/types/__init__.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/types/crypto.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/types/packet.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/utils/__init__.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/utils/auth_token.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/utils/hex.py +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder.egg-info/dependency_links.txt +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder.egg-info/entry_points.txt +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder.egg-info/requires.txt +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder.egg-info/top_level.txt +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/requirements.txt +0 -0
- {meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshcoredecoder
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Complete Python implementation of the MeshCore Packet Decoder
|
|
5
5
|
Home-page: https://github.com/chrisdavis2110/meshcore-decoder-py
|
|
6
6
|
Author: Chris Davis
|
|
@@ -46,9 +46,18 @@ A Python library for decoding MeshCore mesh networking packets with full cryptog
|
|
|
46
46
|
## Features
|
|
47
47
|
|
|
48
48
|
- **Packet Decoding**: Decode MeshCore packets
|
|
49
|
-
- **Built-in Decryption**: Decrypt GroupText, TextMessage, and
|
|
49
|
+
- **Built-in Decryption**: Decrypt GroupText, TextMessage, Request, Response, Path, and AnonRequest payloads
|
|
50
50
|
- **Developer Friendly**: Python-first with full type hints and data classes
|
|
51
51
|
|
|
52
|
+
## Protocol reference
|
|
53
|
+
|
|
54
|
+
Packet and payload layouts follow the MeshCore protocol as described in the local docs:
|
|
55
|
+
|
|
56
|
+
- **[docs/packet_format.md](docs/packet_format.md)** – Packet layout (header, transport codes, path, payload), route types, payload types, payload versions
|
|
57
|
+
- **[docs/payloads.md](docs/payloads.md)** – Payload formats (Advert, Ack, Request/Response, TextMessage, Path, Control, Group text/datagram, etc.)
|
|
58
|
+
|
|
59
|
+
Supported payload types include: Request, Response, TextMessage, Ack, Advert, GroupText, GroupData, AnonRequest, Path, Trace, Multipart, Control (DISCOVER_REQ / DISCOVER_RESP), reserved (0x0C–0x0E), and RawCustom. Request types include GetStats, Keepalive, GetTelemetryData, GetMinMaxAvgData, GetAccessList, GetNeighbours, and GetOwnerInfo.
|
|
60
|
+
|
|
52
61
|
## Installation
|
|
53
62
|
|
|
54
63
|
### Install to a single project
|
|
@@ -231,9 +240,9 @@ if packet.payload_type == PayloadType.Trace and packet.payload.get('decoded'):
|
|
|
231
240
|
|
|
232
241
|
SNR (Signal-to-Noise Ratio) data is available from multiple packet types:
|
|
233
242
|
|
|
234
|
-
1. **TRACE Packets**
|
|
235
|
-
2. **GetStats Response Packets**
|
|
236
|
-
3. **DISCOVER_RESP Control Packets**
|
|
243
|
+
1. **TRACE Packets** – SNR values for each hop in the path
|
|
244
|
+
2. **GetStats / GetNeighbours Response Packets** – Full neighbor table with SNR values (requires decryption)
|
|
245
|
+
3. **DISCOVER_RESP Control Packets** – SNR in discovery responses (unencrypted; decode with `PayloadType.Control`)
|
|
237
246
|
|
|
238
247
|
### How GetStats Works
|
|
239
248
|
|
|
@@ -247,8 +256,8 @@ GetStats is a request/response protocol used to query a repeater node for its ne
|
|
|
247
256
|
- **Cipher MAC** (2 bytes): MAC for encrypted data
|
|
248
257
|
- **Ciphertext**: Encrypted data containing:
|
|
249
258
|
- Timestamp (4 bytes, Unix timestamp)
|
|
250
|
-
- Request type (1 byte
|
|
251
|
-
- Request data (optional,
|
|
259
|
+
- Request type (1 byte): e.g. 0x01 GetStats, 0x06 GetNeighbours, 0x07 GetOwnerInfo (see [docs/payloads.md](docs/payloads.md))
|
|
260
|
+
- Request data (optional, depends on request type)
|
|
252
261
|
|
|
253
262
|
**2. Receiving a Neighbor List Response:**
|
|
254
263
|
- The target repeater responds with a Response packet
|
|
@@ -378,9 +387,9 @@ Byte 8+: Array of neighbor entries, each entry:
|
|
|
378
387
|
|--------|---------|-----------------|---------------------|
|
|
379
388
|
| **TRACE Packets** | ✅ Path SNR per hop | Path hashes, trace tag | ❌ No |
|
|
380
389
|
| **Response Packets** | ✅ Neighbor SNR | Full neighbor table (pubkey prefixes, timestamps) | ✅ Yes (node key) |
|
|
381
|
-
| **DISCOVER_RESP** | ✅ SNR | Node info, tag
|
|
390
|
+
| **DISCOVER_RESP (Control)** | ✅ SNR | Node info, tag, pubkey (8 or 32 bytes) | ❌ No |
|
|
382
391
|
|
|
383
|
-
**Note:** Response packets are the only source that provides the complete neighbor table with pubkey prefixes, timestamps, and SNR values. TRACE packets provide SNR for the specific path taken
|
|
392
|
+
**Note:** Response packets are the only source that provides the complete neighbor table with pubkey prefixes, timestamps, and SNR values. TRACE packets provide SNR for the specific path taken. Control packets with sub_type DISCOVER_RESP provide SNR and node pubkey (or prefix) without decryption.
|
|
384
393
|
|
|
385
394
|
**NeighborEntry Object:**
|
|
386
395
|
|
|
@@ -432,6 +441,10 @@ The CLI will automatically:
|
|
|
432
441
|
- Display total neighbors available and neighbors in the packet
|
|
433
442
|
- Show each neighbor's pubkey prefix, SNR, and timestamps
|
|
434
443
|
|
|
444
|
+
## Packet format (summary)
|
|
445
|
+
|
|
446
|
+
Each packet is: **header** (1 byte) → optional **transport_codes** (4 bytes for Transport Flood/Direct) → **path_length** (1 byte) → **path** (0–64 bytes) → **payload** (0–184 bytes). The header encodes route type (bits 0–1), payload type (bits 2–5), and payload version (bits 6–7). Path length is variable (e.g. 0, 1, or 2 bytes of path data are all valid). Full field descriptions and tables are in [docs/packet_format.md](docs/packet_format.md).
|
|
447
|
+
|
|
435
448
|
## Packet Structure Analysis
|
|
436
449
|
|
|
437
450
|
For detailed packet analysis and debugging, use `analyze_structure()` to get byte-level breakdowns:
|
|
@@ -671,7 +684,7 @@ packet = MeshCoreDecoder.decode(packet_hex)
|
|
|
671
684
|
|
|
672
685
|
if packet.payload_type == PayloadType.Ack:
|
|
673
686
|
ack = packet.payload['decoded']
|
|
674
|
-
print(f"Checksum:
|
|
687
|
+
print(f"Checksum: {ack.checksum}") # 4-byte CRC (hex)
|
|
675
688
|
```
|
|
676
689
|
|
|
677
690
|
#### Trace
|
|
@@ -689,6 +702,25 @@ if packet.payload_type == PayloadType.Trace:
|
|
|
689
702
|
print(f" Hop {i}: {snr:.1f} dB")
|
|
690
703
|
```
|
|
691
704
|
|
|
705
|
+
#### Control (DISCOVER_REQ / DISCOVER_RESP)
|
|
706
|
+
```python
|
|
707
|
+
# Control payloads are unencrypted. Sub-types include DISCOVER_REQ (0x8) and DISCOVER_RESP (0x9).
|
|
708
|
+
packet_hex = "2D00..." # Flood + Control + path_len=0 + payload (flags + data)
|
|
709
|
+
packet = MeshCoreDecoder.decode(packet_hex)
|
|
710
|
+
|
|
711
|
+
if packet.payload_type == PayloadType.Control and packet.payload.get('decoded'):
|
|
712
|
+
ctrl = packet.payload['decoded']
|
|
713
|
+
print(f"Sub-type: 0x{ctrl.sub_type:x}")
|
|
714
|
+
if ctrl.parsed.get('sub_type_name') == 'DISCOVER_REQ':
|
|
715
|
+
print(f" prefix_only: {ctrl.parsed.get('prefix_only')}")
|
|
716
|
+
print(f" type_filter: {ctrl.parsed.get('type_filter_hex')}")
|
|
717
|
+
print(f" tag: {ctrl.parsed.get('tag_hex')}")
|
|
718
|
+
elif ctrl.parsed.get('sub_type_name') == 'DISCOVER_RESP':
|
|
719
|
+
print(f" SNR: {ctrl.parsed.get('snr_db')} dB")
|
|
720
|
+
print(f" tag: {ctrl.parsed.get('tag_hex')}")
|
|
721
|
+
print(f" pubkey: {ctrl.parsed.get('pubkey', '')[:16]}...")
|
|
722
|
+
```
|
|
723
|
+
|
|
692
724
|
### Encrypted Packets (Require Keys)
|
|
693
725
|
|
|
694
726
|
#### GroupText
|
|
@@ -800,6 +832,42 @@ for name, hex_data, opts in packets:
|
|
|
800
832
|
|
|
801
833
|
|
|
802
834
|
|
|
835
|
+
## Publishing to PyPI
|
|
836
|
+
|
|
837
|
+
To release a new version and upload to PyPI:
|
|
838
|
+
|
|
839
|
+
1. **Bump the version** in these files (keep them in sync):
|
|
840
|
+
- `pyproject.toml` → `version = "X.Y.Z"`
|
|
841
|
+
- `meshcoredecoder/__init__.py` → `__version__ = "X.Y.Z"`
|
|
842
|
+
- `setup.py` → `version="X.Y.Z"`
|
|
843
|
+
- `index.py` → `__version__ = "X.Y.Z"`
|
|
844
|
+
|
|
845
|
+
2. **Install build tools** (if needed):
|
|
846
|
+
```bash
|
|
847
|
+
pip install build twine
|
|
848
|
+
```
|
|
849
|
+
|
|
850
|
+
3. **Build the package**:
|
|
851
|
+
```bash
|
|
852
|
+
python -m build
|
|
853
|
+
```
|
|
854
|
+
This creates `dist/meshcoredecoder-X.Y.Z.tar.gz` and `dist/meshcoredecoder_X.Y.Z-*.whl`.
|
|
855
|
+
|
|
856
|
+
4. **Upload to PyPI** (requires a [PyPI account](https://pypi.org/account/register/) and API token):
|
|
857
|
+
```bash
|
|
858
|
+
twine upload dist/*
|
|
859
|
+
```
|
|
860
|
+
Use your PyPI username and an [API token](https://pypi.org/manage/account/token/) as the password. For Test PyPI first:
|
|
861
|
+
```bash
|
|
862
|
+
twine upload --repository testpypi dist/*
|
|
863
|
+
```
|
|
864
|
+
|
|
865
|
+
5. **Tag the release** (optional):
|
|
866
|
+
```bash
|
|
867
|
+
git tag vX.Y.Z
|
|
868
|
+
git push origin vX.Y.Z
|
|
869
|
+
```
|
|
870
|
+
|
|
803
871
|
## License
|
|
804
872
|
|
|
805
873
|
MIT License
|
|
@@ -7,9 +7,18 @@ A Python library for decoding MeshCore mesh networking packets with full cryptog
|
|
|
7
7
|
## Features
|
|
8
8
|
|
|
9
9
|
- **Packet Decoding**: Decode MeshCore packets
|
|
10
|
-
- **Built-in Decryption**: Decrypt GroupText, TextMessage, and
|
|
10
|
+
- **Built-in Decryption**: Decrypt GroupText, TextMessage, Request, Response, Path, and AnonRequest payloads
|
|
11
11
|
- **Developer Friendly**: Python-first with full type hints and data classes
|
|
12
12
|
|
|
13
|
+
## Protocol reference
|
|
14
|
+
|
|
15
|
+
Packet and payload layouts follow the MeshCore protocol as described in the local docs:
|
|
16
|
+
|
|
17
|
+
- **[docs/packet_format.md](docs/packet_format.md)** – Packet layout (header, transport codes, path, payload), route types, payload types, payload versions
|
|
18
|
+
- **[docs/payloads.md](docs/payloads.md)** – Payload formats (Advert, Ack, Request/Response, TextMessage, Path, Control, Group text/datagram, etc.)
|
|
19
|
+
|
|
20
|
+
Supported payload types include: Request, Response, TextMessage, Ack, Advert, GroupText, GroupData, AnonRequest, Path, Trace, Multipart, Control (DISCOVER_REQ / DISCOVER_RESP), reserved (0x0C–0x0E), and RawCustom. Request types include GetStats, Keepalive, GetTelemetryData, GetMinMaxAvgData, GetAccessList, GetNeighbours, and GetOwnerInfo.
|
|
21
|
+
|
|
13
22
|
## Installation
|
|
14
23
|
|
|
15
24
|
### Install to a single project
|
|
@@ -192,9 +201,9 @@ if packet.payload_type == PayloadType.Trace and packet.payload.get('decoded'):
|
|
|
192
201
|
|
|
193
202
|
SNR (Signal-to-Noise Ratio) data is available from multiple packet types:
|
|
194
203
|
|
|
195
|
-
1. **TRACE Packets**
|
|
196
|
-
2. **GetStats Response Packets**
|
|
197
|
-
3. **DISCOVER_RESP Control Packets**
|
|
204
|
+
1. **TRACE Packets** – SNR values for each hop in the path
|
|
205
|
+
2. **GetStats / GetNeighbours Response Packets** – Full neighbor table with SNR values (requires decryption)
|
|
206
|
+
3. **DISCOVER_RESP Control Packets** – SNR in discovery responses (unencrypted; decode with `PayloadType.Control`)
|
|
198
207
|
|
|
199
208
|
### How GetStats Works
|
|
200
209
|
|
|
@@ -208,8 +217,8 @@ GetStats is a request/response protocol used to query a repeater node for its ne
|
|
|
208
217
|
- **Cipher MAC** (2 bytes): MAC for encrypted data
|
|
209
218
|
- **Ciphertext**: Encrypted data containing:
|
|
210
219
|
- Timestamp (4 bytes, Unix timestamp)
|
|
211
|
-
- Request type (1 byte
|
|
212
|
-
- Request data (optional,
|
|
220
|
+
- Request type (1 byte): e.g. 0x01 GetStats, 0x06 GetNeighbours, 0x07 GetOwnerInfo (see [docs/payloads.md](docs/payloads.md))
|
|
221
|
+
- Request data (optional, depends on request type)
|
|
213
222
|
|
|
214
223
|
**2. Receiving a Neighbor List Response:**
|
|
215
224
|
- The target repeater responds with a Response packet
|
|
@@ -339,9 +348,9 @@ Byte 8+: Array of neighbor entries, each entry:
|
|
|
339
348
|
|--------|---------|-----------------|---------------------|
|
|
340
349
|
| **TRACE Packets** | ✅ Path SNR per hop | Path hashes, trace tag | ❌ No |
|
|
341
350
|
| **Response Packets** | ✅ Neighbor SNR | Full neighbor table (pubkey prefixes, timestamps) | ✅ Yes (node key) |
|
|
342
|
-
| **DISCOVER_RESP** | ✅ SNR | Node info, tag
|
|
351
|
+
| **DISCOVER_RESP (Control)** | ✅ SNR | Node info, tag, pubkey (8 or 32 bytes) | ❌ No |
|
|
343
352
|
|
|
344
|
-
**Note:** Response packets are the only source that provides the complete neighbor table with pubkey prefixes, timestamps, and SNR values. TRACE packets provide SNR for the specific path taken
|
|
353
|
+
**Note:** Response packets are the only source that provides the complete neighbor table with pubkey prefixes, timestamps, and SNR values. TRACE packets provide SNR for the specific path taken. Control packets with sub_type DISCOVER_RESP provide SNR and node pubkey (or prefix) without decryption.
|
|
345
354
|
|
|
346
355
|
**NeighborEntry Object:**
|
|
347
356
|
|
|
@@ -393,6 +402,10 @@ The CLI will automatically:
|
|
|
393
402
|
- Display total neighbors available and neighbors in the packet
|
|
394
403
|
- Show each neighbor's pubkey prefix, SNR, and timestamps
|
|
395
404
|
|
|
405
|
+
## Packet format (summary)
|
|
406
|
+
|
|
407
|
+
Each packet is: **header** (1 byte) → optional **transport_codes** (4 bytes for Transport Flood/Direct) → **path_length** (1 byte) → **path** (0–64 bytes) → **payload** (0–184 bytes). The header encodes route type (bits 0–1), payload type (bits 2–5), and payload version (bits 6–7). Path length is variable (e.g. 0, 1, or 2 bytes of path data are all valid). Full field descriptions and tables are in [docs/packet_format.md](docs/packet_format.md).
|
|
408
|
+
|
|
396
409
|
## Packet Structure Analysis
|
|
397
410
|
|
|
398
411
|
For detailed packet analysis and debugging, use `analyze_structure()` to get byte-level breakdowns:
|
|
@@ -632,7 +645,7 @@ packet = MeshCoreDecoder.decode(packet_hex)
|
|
|
632
645
|
|
|
633
646
|
if packet.payload_type == PayloadType.Ack:
|
|
634
647
|
ack = packet.payload['decoded']
|
|
635
|
-
print(f"Checksum:
|
|
648
|
+
print(f"Checksum: {ack.checksum}") # 4-byte CRC (hex)
|
|
636
649
|
```
|
|
637
650
|
|
|
638
651
|
#### Trace
|
|
@@ -650,6 +663,25 @@ if packet.payload_type == PayloadType.Trace:
|
|
|
650
663
|
print(f" Hop {i}: {snr:.1f} dB")
|
|
651
664
|
```
|
|
652
665
|
|
|
666
|
+
#### Control (DISCOVER_REQ / DISCOVER_RESP)
|
|
667
|
+
```python
|
|
668
|
+
# Control payloads are unencrypted. Sub-types include DISCOVER_REQ (0x8) and DISCOVER_RESP (0x9).
|
|
669
|
+
packet_hex = "2D00..." # Flood + Control + path_len=0 + payload (flags + data)
|
|
670
|
+
packet = MeshCoreDecoder.decode(packet_hex)
|
|
671
|
+
|
|
672
|
+
if packet.payload_type == PayloadType.Control and packet.payload.get('decoded'):
|
|
673
|
+
ctrl = packet.payload['decoded']
|
|
674
|
+
print(f"Sub-type: 0x{ctrl.sub_type:x}")
|
|
675
|
+
if ctrl.parsed.get('sub_type_name') == 'DISCOVER_REQ':
|
|
676
|
+
print(f" prefix_only: {ctrl.parsed.get('prefix_only')}")
|
|
677
|
+
print(f" type_filter: {ctrl.parsed.get('type_filter_hex')}")
|
|
678
|
+
print(f" tag: {ctrl.parsed.get('tag_hex')}")
|
|
679
|
+
elif ctrl.parsed.get('sub_type_name') == 'DISCOVER_RESP':
|
|
680
|
+
print(f" SNR: {ctrl.parsed.get('snr_db')} dB")
|
|
681
|
+
print(f" tag: {ctrl.parsed.get('tag_hex')}")
|
|
682
|
+
print(f" pubkey: {ctrl.parsed.get('pubkey', '')[:16]}...")
|
|
683
|
+
```
|
|
684
|
+
|
|
653
685
|
### Encrypted Packets (Require Keys)
|
|
654
686
|
|
|
655
687
|
#### GroupText
|
|
@@ -761,6 +793,42 @@ for name, hex_data, opts in packets:
|
|
|
761
793
|
|
|
762
794
|
|
|
763
795
|
|
|
796
|
+
## Publishing to PyPI
|
|
797
|
+
|
|
798
|
+
To release a new version and upload to PyPI:
|
|
799
|
+
|
|
800
|
+
1. **Bump the version** in these files (keep them in sync):
|
|
801
|
+
- `pyproject.toml` → `version = "X.Y.Z"`
|
|
802
|
+
- `meshcoredecoder/__init__.py` → `__version__ = "X.Y.Z"`
|
|
803
|
+
- `setup.py` → `version="X.Y.Z"`
|
|
804
|
+
- `index.py` → `__version__ = "X.Y.Z"`
|
|
805
|
+
|
|
806
|
+
2. **Install build tools** (if needed):
|
|
807
|
+
```bash
|
|
808
|
+
pip install build twine
|
|
809
|
+
```
|
|
810
|
+
|
|
811
|
+
3. **Build the package**:
|
|
812
|
+
```bash
|
|
813
|
+
python -m build
|
|
814
|
+
```
|
|
815
|
+
This creates `dist/meshcoredecoder-X.Y.Z.tar.gz` and `dist/meshcoredecoder_X.Y.Z-*.whl`.
|
|
816
|
+
|
|
817
|
+
4. **Upload to PyPI** (requires a [PyPI account](https://pypi.org/account/register/) and API token):
|
|
818
|
+
```bash
|
|
819
|
+
twine upload dist/*
|
|
820
|
+
```
|
|
821
|
+
Use your PyPI username and an [API token](https://pypi.org/manage/account/token/) as the password. For Test PyPI first:
|
|
822
|
+
```bash
|
|
823
|
+
twine upload --repository testpypi dist/*
|
|
824
|
+
```
|
|
825
|
+
|
|
826
|
+
5. **Tag the release** (optional):
|
|
827
|
+
```bash
|
|
828
|
+
git tag vX.Y.Z
|
|
829
|
+
git push origin vX.Y.Z
|
|
830
|
+
```
|
|
831
|
+
|
|
764
832
|
## License
|
|
765
833
|
|
|
766
834
|
MIT License
|
|
@@ -11,7 +11,7 @@ import sys
|
|
|
11
11
|
import json
|
|
12
12
|
import asyncio
|
|
13
13
|
from typing import List, Optional
|
|
14
|
-
from meshcoredecoder import MeshCoreDecoder
|
|
14
|
+
from meshcoredecoder import MeshCoreDecoder, __version__
|
|
15
15
|
from meshcoredecoder.crypto import MeshCoreKeyStore
|
|
16
16
|
from meshcoredecoder.types.crypto import DecryptionOptions
|
|
17
17
|
from meshcoredecoder.utils.enum_names import get_route_type_name, get_payload_type_name, get_device_role_name
|
|
@@ -877,7 +877,7 @@ def main():
|
|
|
877
877
|
formatter_class=argparse.RawDescriptionHelpFormatter
|
|
878
878
|
)
|
|
879
879
|
|
|
880
|
-
parser.add_argument('--version', action='version', version='
|
|
880
|
+
parser.add_argument('--version', action='version', version=f'%(prog)s {__version__}')
|
|
881
881
|
|
|
882
882
|
subparsers = parser.add_subparsers(dest='command', help='Commands')
|
|
883
883
|
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
Copyright (c) 2025 Michael Hart: https://github.com/michaelhart/meshcore-decoder
|
|
3
3
|
MIT License
|
|
4
4
|
|
|
5
|
-
Main packet decoder - orchestrates all payload decoders
|
|
5
|
+
Main packet decoder - orchestrates all payload decoders.
|
|
6
|
+
Packet layout: docs/packet_format.md. Payload formats: docs/payloads.md.
|
|
6
7
|
"""
|
|
7
8
|
|
|
8
9
|
from typing import Optional, Dict, Any, List, Tuple
|
|
@@ -23,6 +24,7 @@ from .payload_decoders.request import RequestPayloadDecoder
|
|
|
23
24
|
from .payload_decoders.response import ResponsePayloadDecoder
|
|
24
25
|
from .payload_decoders.anon_request import AnonRequestPayloadDecoder
|
|
25
26
|
from .payload_decoders.text_message import TextMessagePayloadDecoder
|
|
27
|
+
from .payload_decoders.control import ControlPayloadDecoder
|
|
26
28
|
|
|
27
29
|
|
|
28
30
|
class MeshCorePacketDecoder:
|
|
@@ -139,16 +141,14 @@ class MeshCorePacketDecoder:
|
|
|
139
141
|
transport_codes = (code1, code2)
|
|
140
142
|
|
|
141
143
|
if include_structure:
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
(bytes_data[offset + 2] << 16) |
|
|
145
|
-
(bytes_data[offset + 3] << 24))
|
|
144
|
+
transport_code_1 = bytes_data[offset] | (bytes_data[offset + 1] << 8)
|
|
145
|
+
transport_code_2 = bytes_data[offset + 2] | (bytes_data[offset + 3] << 8)
|
|
146
146
|
segments.append(PacketSegment(
|
|
147
|
-
name='Transport
|
|
148
|
-
description='
|
|
147
|
+
name='Transport Codes',
|
|
148
|
+
description='2× uint16: transport_code_1 (region scope), transport_code_2 (reserved). See packet_format.md.',
|
|
149
149
|
start_byte=offset,
|
|
150
150
|
end_byte=offset + 3,
|
|
151
|
-
value=f'0x{
|
|
151
|
+
value=f'0x{transport_code_1:04x} 0x{transport_code_2:04x}'
|
|
152
152
|
))
|
|
153
153
|
offset += 4
|
|
154
154
|
|
|
@@ -296,6 +296,14 @@ class MeshCorePacketDecoder:
|
|
|
296
296
|
decoder_options['include_segments'] = include_structure
|
|
297
297
|
decoder_options['segment_offset'] = 0
|
|
298
298
|
decoded_payload = TextMessagePayloadDecoder.decode(payload_bytes, options if options else decoder_options)
|
|
299
|
+
elif payload_type == PayloadType.Control:
|
|
300
|
+
result = ControlPayloadDecoder.decode(payload_bytes, {'include_segments': include_structure, 'segment_offset': 0})
|
|
301
|
+
decoded_payload = result
|
|
302
|
+
if result and hasattr(result, 'segments') and result.segments:
|
|
303
|
+
payload_segments.extend(result.segments)
|
|
304
|
+
elif payload_type in (PayloadType.Reserved0C, PayloadType.Reserved0D, PayloadType.Reserved0E):
|
|
305
|
+
# Reserved payload types: show raw only
|
|
306
|
+
decoded_payload = None
|
|
299
307
|
|
|
300
308
|
# If no segments were generated and we need structure, show basic payload info
|
|
301
309
|
if include_structure and len(payload_segments) == 0 and len(bytes_data) > offset:
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/__init__.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""Payload decoder modules"""
|
|
1
|
+
"""Payload decoder modules. See docs/payloads.md for formats."""
|
|
2
2
|
from .ack import AckPayloadDecoder
|
|
3
3
|
from .trace import TracePayloadDecoder
|
|
4
4
|
from .path import PathPayloadDecoder
|
|
@@ -9,6 +9,7 @@ from .request import RequestPayloadDecoder
|
|
|
9
9
|
from .response import ResponsePayloadDecoder
|
|
10
10
|
from .anon_request import AnonRequestPayloadDecoder
|
|
11
11
|
from .text_message import TextMessagePayloadDecoder
|
|
12
|
+
from .control import ControlPayloadDecoder
|
|
12
13
|
|
|
13
14
|
__all__ = [
|
|
14
15
|
'AckPayloadDecoder',
|
|
@@ -21,4 +22,5 @@ __all__ = [
|
|
|
21
22
|
'ResponsePayloadDecoder',
|
|
22
23
|
'AnonRequestPayloadDecoder',
|
|
23
24
|
'TextMessagePayloadDecoder',
|
|
25
|
+
'ControlPayloadDecoder',
|
|
24
26
|
]
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/ack.py
RENAMED
|
@@ -23,7 +23,7 @@ class AckPayloadDecoder:
|
|
|
23
23
|
options = {}
|
|
24
24
|
|
|
25
25
|
try:
|
|
26
|
-
#
|
|
26
|
+
# docs/payloads.md: Ack = checksum(4), CRC of message timestamp, text, and sender pubkey.
|
|
27
27
|
# - checksum (4 bytes) - CRC checksum of message timestamp, text, and sender pubkey
|
|
28
28
|
|
|
29
29
|
if len(payload) < 4:
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/advert.py
RENAMED
|
@@ -53,7 +53,7 @@ class AdvertPayloadDecoder:
|
|
|
53
53
|
segment_offset = options.get('segment_offset', 0)
|
|
54
54
|
current_offset = 0
|
|
55
55
|
|
|
56
|
-
#
|
|
56
|
+
# docs/payloads.md: Advert = public_key(32) + timestamp(4) + signature(64) + appdata (flags + optional lat/long, feature1/2, name).
|
|
57
57
|
public_key = bytes_to_hex(payload[current_offset:current_offset + 32])
|
|
58
58
|
if options.get('include_segments'):
|
|
59
59
|
segments.append(PayloadSegment(
|
|
@@ -38,7 +38,7 @@ class AnonRequestPayloadDecoder:
|
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
try:
|
|
41
|
-
#
|
|
41
|
+
# docs/payloads.md: AnonRequest = dest_hash(1) + public_key(32) + cipher MAC(2) + ciphertext.
|
|
42
42
|
# - destination_hash (1 byte)
|
|
43
43
|
# - sender_public_key (32 bytes)
|
|
44
44
|
# - cipher_mac (2 bytes)
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2025 Michael Hart: https://github.com/michaelhart/meshcore-decoder
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Control payload decoder.
|
|
6
|
+
Structure per docs/payloads.md: flags (1, upper 4 bits = sub_type), data (rest).
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from typing import Optional, Dict, Any, List
|
|
10
|
+
from ...types.payloads import ControlPayload
|
|
11
|
+
from ...types.packet import PayloadSegment
|
|
12
|
+
from ...types.enums import PayloadType, PayloadVersion
|
|
13
|
+
from ...utils.hex import bytes_to_hex
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
# Sub-types from payloads.md (upper 4 bits of flags)
|
|
17
|
+
CONTROL_SUB_TYPE_DISCOVER_REQ = 0x8
|
|
18
|
+
CONTROL_SUB_TYPE_DISCOVER_RESP = 0x9
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class ControlPayloadDecoder:
|
|
22
|
+
@staticmethod
|
|
23
|
+
def decode(
|
|
24
|
+
payload: bytes,
|
|
25
|
+
options: Optional[Dict[str, Any]] = None
|
|
26
|
+
) -> Optional[ControlPayload]:
|
|
27
|
+
"""Decode a Control payload. See docs/payloads.md Control data."""
|
|
28
|
+
if options is None:
|
|
29
|
+
options = {}
|
|
30
|
+
|
|
31
|
+
try:
|
|
32
|
+
if len(payload) < 1:
|
|
33
|
+
result = ControlPayload(
|
|
34
|
+
payload_type=PayloadType.Control,
|
|
35
|
+
version=PayloadVersion.Version1,
|
|
36
|
+
is_valid=False,
|
|
37
|
+
errors=['Control payload too short (minimum 1 byte for flags)'],
|
|
38
|
+
flags=0,
|
|
39
|
+
sub_type=0,
|
|
40
|
+
data_hex=''
|
|
41
|
+
)
|
|
42
|
+
if options.get('include_segments'):
|
|
43
|
+
result.segments = [PayloadSegment(
|
|
44
|
+
name='Invalid Control Data',
|
|
45
|
+
description='Control payload too short',
|
|
46
|
+
start_byte=options.get('segment_offset', 0),
|
|
47
|
+
end_byte=options.get('segment_offset', 0) + max(0, len(payload) - 1),
|
|
48
|
+
value=bytes_to_hex(payload)
|
|
49
|
+
)]
|
|
50
|
+
return result
|
|
51
|
+
|
|
52
|
+
segments: List[PayloadSegment] = []
|
|
53
|
+
segment_offset = options.get('segment_offset', 0)
|
|
54
|
+
offset = 0
|
|
55
|
+
|
|
56
|
+
flags = payload[offset]
|
|
57
|
+
sub_type = (flags >> 4) & 0x0F
|
|
58
|
+
lower_bits = flags & 0x0F
|
|
59
|
+
|
|
60
|
+
if options.get('include_segments'):
|
|
61
|
+
segments.append(PayloadSegment(
|
|
62
|
+
name='Flags',
|
|
63
|
+
description=f'Upper 4 bits = sub_type (0x{sub_type:x}), lower 4 bits = type-specific',
|
|
64
|
+
start_byte=segment_offset + offset,
|
|
65
|
+
end_byte=segment_offset + offset,
|
|
66
|
+
value=f'{flags:02x}'
|
|
67
|
+
))
|
|
68
|
+
offset += 1
|
|
69
|
+
|
|
70
|
+
data_bytes = payload[offset:]
|
|
71
|
+
data_hex = bytes_to_hex(data_bytes)
|
|
72
|
+
parsed: Dict[str, Any] = {}
|
|
73
|
+
|
|
74
|
+
if sub_type == CONTROL_SUB_TYPE_DISCOVER_REQ and len(data_bytes) >= 5:
|
|
75
|
+
# DISCOVER_REQ: type_filter(1), tag(4), since(4 optional)
|
|
76
|
+
type_filter = data_bytes[0]
|
|
77
|
+
parsed['sub_type_name'] = 'DISCOVER_REQ'
|
|
78
|
+
parsed['prefix_only'] = bool(lower_bits & 0x01)
|
|
79
|
+
parsed['type_filter'] = type_filter
|
|
80
|
+
parsed['type_filter_hex'] = f'0x{type_filter:02x}'
|
|
81
|
+
if len(data_bytes) >= 9:
|
|
82
|
+
tag = (
|
|
83
|
+
data_bytes[1] |
|
|
84
|
+
(data_bytes[2] << 8) |
|
|
85
|
+
(data_bytes[3] << 16) |
|
|
86
|
+
(data_bytes[4] << 24)
|
|
87
|
+
)
|
|
88
|
+
parsed['tag'] = tag
|
|
89
|
+
parsed['tag_hex'] = f'0x{tag:08x}'
|
|
90
|
+
if len(data_bytes) >= 13:
|
|
91
|
+
since = (
|
|
92
|
+
data_bytes[5] |
|
|
93
|
+
(data_bytes[6] << 8) |
|
|
94
|
+
(data_bytes[7] << 16) |
|
|
95
|
+
(data_bytes[8] << 24)
|
|
96
|
+
)
|
|
97
|
+
parsed['since'] = since
|
|
98
|
+
parsed['since_hex'] = f'0x{since:08x}'
|
|
99
|
+
|
|
100
|
+
if options.get('include_segments'):
|
|
101
|
+
segments.append(PayloadSegment(
|
|
102
|
+
name='Type Filter',
|
|
103
|
+
description=f'Bit mask for ADV_TYPE_*: 0x{type_filter:02x}',
|
|
104
|
+
start_byte=segment_offset + offset,
|
|
105
|
+
end_byte=segment_offset + offset,
|
|
106
|
+
value=f'{type_filter:02x}'
|
|
107
|
+
))
|
|
108
|
+
if len(data_bytes) >= 9:
|
|
109
|
+
segments.append(PayloadSegment(
|
|
110
|
+
name='Tag',
|
|
111
|
+
description=f'Random tag from sender: 0x{parsed["tag"]:08x}',
|
|
112
|
+
start_byte=segment_offset + offset + 1,
|
|
113
|
+
end_byte=segment_offset + offset + 4,
|
|
114
|
+
value=bytes_to_hex(data_bytes[1:5])
|
|
115
|
+
))
|
|
116
|
+
if len(data_bytes) >= 13:
|
|
117
|
+
segments.append(PayloadSegment(
|
|
118
|
+
name='Since',
|
|
119
|
+
description=f'Epoch timestamp (optional): {parsed["since"]}',
|
|
120
|
+
start_byte=segment_offset + offset + 5,
|
|
121
|
+
end_byte=segment_offset + offset + 8,
|
|
122
|
+
value=bytes_to_hex(data_bytes[5:9])
|
|
123
|
+
))
|
|
124
|
+
|
|
125
|
+
elif sub_type == CONTROL_SUB_TYPE_DISCOVER_RESP and len(data_bytes) >= 6:
|
|
126
|
+
# DISCOVER_RESP: snr(1, signed, SNR*4), tag(4), pubkey(8 or 32)
|
|
127
|
+
snr_raw = data_bytes[0]
|
|
128
|
+
snr_signed = snr_raw - 256 if snr_raw > 127 else snr_raw
|
|
129
|
+
snr_db = snr_signed / 4.0
|
|
130
|
+
tag = (
|
|
131
|
+
data_bytes[1] |
|
|
132
|
+
(data_bytes[2] << 8) |
|
|
133
|
+
(data_bytes[3] << 16) |
|
|
134
|
+
(data_bytes[4] << 24)
|
|
135
|
+
)
|
|
136
|
+
parsed['sub_type_name'] = 'DISCOVER_RESP'
|
|
137
|
+
parsed['node_type'] = lower_bits
|
|
138
|
+
parsed['snr_raw'] = snr_raw
|
|
139
|
+
parsed['snr_db'] = round(snr_db, 2)
|
|
140
|
+
parsed['tag'] = tag
|
|
141
|
+
parsed['tag_hex'] = f'0x{tag:08x}'
|
|
142
|
+
if len(data_bytes) >= 6 + 8:
|
|
143
|
+
pubkey_len = 32 if len(data_bytes) >= 6 + 32 else 8
|
|
144
|
+
pubkey_hex = bytes_to_hex(data_bytes[5:5 + pubkey_len])
|
|
145
|
+
parsed['pubkey_len'] = pubkey_len
|
|
146
|
+
parsed['pubkey'] = pubkey_hex
|
|
147
|
+
|
|
148
|
+
if options.get('include_segments'):
|
|
149
|
+
segments.append(PayloadSegment(
|
|
150
|
+
name='SNR',
|
|
151
|
+
description=f'SNR*4 (signed): {snr_db:.2f} dB',
|
|
152
|
+
start_byte=segment_offset + offset,
|
|
153
|
+
end_byte=segment_offset + offset,
|
|
154
|
+
value=f'{snr_raw:02x}'
|
|
155
|
+
))
|
|
156
|
+
segments.append(PayloadSegment(
|
|
157
|
+
name='Tag',
|
|
158
|
+
description=f'Reflected from DISCOVER_REQ: 0x{tag:08x}',
|
|
159
|
+
start_byte=segment_offset + offset + 1,
|
|
160
|
+
end_byte=segment_offset + offset + 4,
|
|
161
|
+
value=bytes_to_hex(data_bytes[1:5])
|
|
162
|
+
))
|
|
163
|
+
if len(data_bytes) >= 6 + 8:
|
|
164
|
+
pubkey_len = 32 if len(data_bytes) >= 6 + 32 else 8
|
|
165
|
+
segments.append(PayloadSegment(
|
|
166
|
+
name='Pubkey',
|
|
167
|
+
description=f'Node ID or prefix ({pubkey_len} bytes)',
|
|
168
|
+
start_byte=segment_offset + offset + 5,
|
|
169
|
+
end_byte=segment_offset + offset + 4 + pubkey_len,
|
|
170
|
+
value=bytes_to_hex(data_bytes[5:5 + pubkey_len])
|
|
171
|
+
))
|
|
172
|
+
|
|
173
|
+
else:
|
|
174
|
+
parsed['raw'] = data_hex
|
|
175
|
+
if options.get('include_segments') and len(data_bytes) > 0:
|
|
176
|
+
segments.append(PayloadSegment(
|
|
177
|
+
name='Data',
|
|
178
|
+
description=f'Control data ({len(data_bytes)} bytes)',
|
|
179
|
+
start_byte=segment_offset + offset,
|
|
180
|
+
end_byte=segment_offset + len(payload) - 1,
|
|
181
|
+
value=data_hex
|
|
182
|
+
))
|
|
183
|
+
|
|
184
|
+
result = ControlPayload(
|
|
185
|
+
payload_type=PayloadType.Control,
|
|
186
|
+
version=PayloadVersion.Version1,
|
|
187
|
+
is_valid=True,
|
|
188
|
+
flags=flags,
|
|
189
|
+
sub_type=sub_type,
|
|
190
|
+
data_hex=data_hex,
|
|
191
|
+
parsed=parsed
|
|
192
|
+
)
|
|
193
|
+
if options.get('include_segments'):
|
|
194
|
+
result.segments = segments
|
|
195
|
+
return result
|
|
196
|
+
|
|
197
|
+
except Exception as error:
|
|
198
|
+
return ControlPayload(
|
|
199
|
+
payload_type=PayloadType.Control,
|
|
200
|
+
version=PayloadVersion.Version1,
|
|
201
|
+
is_valid=False,
|
|
202
|
+
errors=[str(error)],
|
|
203
|
+
flags=0,
|
|
204
|
+
sub_type=0,
|
|
205
|
+
data_hex=''
|
|
206
|
+
)
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/path.py
RENAMED
|
@@ -38,7 +38,8 @@ class PathPayloadDecoder:
|
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
try:
|
|
41
|
-
#
|
|
41
|
+
# docs/payloads.md: Path = dest_hash(1) + source_hash(1) + cipher MAC(2) + ciphertext.
|
|
42
|
+
# Ciphertext plaintext: path_length(1), path(bytes), extra_type(1), extra(rest).
|
|
42
43
|
# Encrypted format:
|
|
43
44
|
# - destination_hash (1 byte)
|
|
44
45
|
# - source_hash (1 byte)
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/request.py
RENAMED
|
@@ -38,7 +38,8 @@ class RequestPayloadDecoder:
|
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
try:
|
|
41
|
-
#
|
|
41
|
+
# docs/payloads.md: Request payload = dest_hash(1) + source_hash(1) + cipher MAC(2) + ciphertext.
|
|
42
|
+
# Ciphertext plaintext: timestamp(4), request_type(1), request_data(rest).
|
|
42
43
|
# - destination hash (1 byte)
|
|
43
44
|
# - source hash (1 byte)
|
|
44
45
|
# - cipher MAC (2 bytes)
|
|
@@ -345,6 +346,11 @@ class RequestPayloadDecoder:
|
|
|
345
346
|
else:
|
|
346
347
|
parsed['error'] = f'Request data too short (expected at least 10 bytes, got {len(request_data)})'
|
|
347
348
|
|
|
349
|
+
elif request_type == RequestType.GetOwnerInfo:
|
|
350
|
+
# 0x07 - Get Owner Info (repeater firmware-ver/name/owner info)
|
|
351
|
+
parsed['description'] = 'Get owner info (repeater firmware version, name, owner)'
|
|
352
|
+
parsed['raw'] = bytes_to_hex(request_data) if len(request_data) > 0 else ''
|
|
353
|
+
|
|
348
354
|
else:
|
|
349
355
|
# Unknown or Keepalive (deprecated)
|
|
350
356
|
parsed['raw'] = bytes_to_hex(request_data)
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/response.py
RENAMED
|
@@ -163,7 +163,8 @@ class ResponsePayloadDecoder:
|
|
|
163
163
|
)
|
|
164
164
|
|
|
165
165
|
try:
|
|
166
|
-
#
|
|
166
|
+
# docs/payloads.md: Response = dest_hash(1) + source_hash(1) + cipher MAC(2) + ciphertext.
|
|
167
|
+
# Ciphertext plaintext: tag(4), content(rest).
|
|
167
168
|
# - destination_hash (1 byte)
|
|
168
169
|
# - source_hash (1 byte)
|
|
169
170
|
# - cipher_mac (2 bytes)
|
|
@@ -38,7 +38,8 @@ class TextMessagePayloadDecoder:
|
|
|
38
38
|
)
|
|
39
39
|
|
|
40
40
|
try:
|
|
41
|
-
#
|
|
41
|
+
# docs/payloads.md: TextMessage = dest_hash(1) + source_hash(1) + cipher MAC(2) + ciphertext.
|
|
42
|
+
# Ciphertext plaintext: timestamp(4), txt_type+attempt(1), message(rest). txt_type: 0=plain, 1=CLI, 2=signed.
|
|
42
43
|
# - destination_hash (1 byte)
|
|
43
44
|
# - source_hash (1 byte)
|
|
44
45
|
# - cipher_mac (2 bytes)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Copyright (c) 2025 Michael Hart: https://github.com/michaelhart/meshcore-decoder
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
MeshCore packet type definitions.
|
|
6
|
+
Reference: docs/packet_format.md and docs/payloads.md
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
from enum import Enum
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class RouteType(Enum):
|
|
13
|
+
"""Route types from packet header bits 0-1 (mask 0x03). See packet_format.md."""
|
|
14
|
+
TransportFlood = 0x00 # ROUTE_TYPE_TRANSPORT_FLOOD
|
|
15
|
+
Flood = 0x01 # ROUTE_TYPE_FLOOD
|
|
16
|
+
Direct = 0x02 # ROUTE_TYPE_DIRECT
|
|
17
|
+
TransportDirect = 0x03 # ROUTE_TYPE_TRANSPORT_DIRECT
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
class PayloadType(Enum):
|
|
21
|
+
"""Payload types from packet header bits 2-5 (mask 0x3C). See packet_format.md."""
|
|
22
|
+
Request = 0x00 # PAYLOAD_TYPE_REQ
|
|
23
|
+
Response = 0x01 # PAYLOAD_TYPE_RESPONSE
|
|
24
|
+
TextMessage = 0x02 # PAYLOAD_TYPE_TXT_MSG
|
|
25
|
+
Ack = 0x03 # PAYLOAD_TYPE_ACK
|
|
26
|
+
Advert = 0x04 # PAYLOAD_TYPE_ADVERT
|
|
27
|
+
GroupText = 0x05 # PAYLOAD_TYPE_GRP_TXT
|
|
28
|
+
GroupData = 0x06 # PAYLOAD_TYPE_GRP_DATA
|
|
29
|
+
AnonRequest = 0x07 # PAYLOAD_TYPE_ANON_REQ
|
|
30
|
+
Path = 0x08 # PAYLOAD_TYPE_PATH
|
|
31
|
+
Trace = 0x09 # PAYLOAD_TYPE_TRACE
|
|
32
|
+
Multipart = 0x0A # PAYLOAD_TYPE_MULTIPART
|
|
33
|
+
Control = 0x0B # PAYLOAD_TYPE_CONTROL
|
|
34
|
+
Reserved0C = 0x0C # reserved
|
|
35
|
+
Reserved0D = 0x0D # reserved
|
|
36
|
+
Reserved0E = 0x0E # reserved
|
|
37
|
+
RawCustom = 0x0F # PAYLOAD_TYPE_RAW_CUSTOM
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
class PayloadVersion(Enum):
|
|
41
|
+
Version1 = 0x00
|
|
42
|
+
Version2 = 0x01
|
|
43
|
+
Version3 = 0x02
|
|
44
|
+
Version4 = 0x03
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
class DeviceRole(Enum):
|
|
48
|
+
ChatNode = 0x01
|
|
49
|
+
Repeater = 0x02
|
|
50
|
+
RoomServer = 0x03
|
|
51
|
+
Sensor = 0x04
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class AdvertFlags(Enum):
|
|
55
|
+
HasLocation = 0x10
|
|
56
|
+
HasFeature1 = 0x20
|
|
57
|
+
HasFeature2 = 0x40
|
|
58
|
+
HasName = 0x80
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
class RequestType(Enum):
|
|
62
|
+
"""Request types in REQ payload ciphertext. See payloads.md Request type table."""
|
|
63
|
+
GetStats = 0x01
|
|
64
|
+
Keepalive = 0x02 # deprecated
|
|
65
|
+
GetTelemetryData = 0x03
|
|
66
|
+
GetMinMaxAvgData = 0x04
|
|
67
|
+
GetAccessList = 0x05
|
|
68
|
+
GetNeighbours = 0x06
|
|
69
|
+
GetOwnerInfo = 0x07
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""
|
|
2
|
-
Payload type definitions
|
|
3
|
-
Reference:
|
|
2
|
+
Payload type definitions.
|
|
3
|
+
Reference: docs/payloads.md
|
|
4
4
|
"""
|
|
5
5
|
|
|
6
6
|
from typing import Dict, Optional, List, Any
|
|
@@ -326,6 +326,34 @@ class NeighborEntry:
|
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
|
|
329
|
+
class ControlPayload(BasePayload):
|
|
330
|
+
"""Control packet payload (unencrypted). See payloads.md Control data."""
|
|
331
|
+
def __init__(
|
|
332
|
+
self,
|
|
333
|
+
flags: int,
|
|
334
|
+
sub_type: int,
|
|
335
|
+
data_hex: str,
|
|
336
|
+
parsed: Optional[Dict[str, Any]] = None,
|
|
337
|
+
**kwargs
|
|
338
|
+
):
|
|
339
|
+
super().__init__(**kwargs)
|
|
340
|
+
self.flags = flags
|
|
341
|
+
self.sub_type = sub_type
|
|
342
|
+
self.data_hex = data_hex
|
|
343
|
+
self.parsed = parsed or {}
|
|
344
|
+
|
|
345
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
346
|
+
result = super().to_dict()
|
|
347
|
+
result.update({
|
|
348
|
+
'flags': self.flags,
|
|
349
|
+
'subType': self.sub_type,
|
|
350
|
+
'dataHex': self.data_hex,
|
|
351
|
+
})
|
|
352
|
+
if self.parsed:
|
|
353
|
+
result['parsed'] = self.parsed
|
|
354
|
+
return result
|
|
355
|
+
|
|
356
|
+
|
|
329
357
|
class ResponsePayload(BasePayload):
|
|
330
358
|
"""Response payload"""
|
|
331
359
|
def __init__(
|
|
@@ -377,5 +405,6 @@ class ResponsePayload(BasePayload):
|
|
|
377
405
|
# Union type for all payload types
|
|
378
406
|
PayloadData = (
|
|
379
407
|
AdvertPayload | TracePayload | GroupTextPayload | GroupDataPayload | RequestPayload |
|
|
380
|
-
TextMessagePayload | AnonRequestPayload | AckPayload | PathPayload | ResponsePayload
|
|
408
|
+
TextMessagePayload | AnonRequestPayload | AckPayload | PathPayload | ResponsePayload |
|
|
409
|
+
ControlPayload
|
|
381
410
|
)
|
|
@@ -54,5 +54,7 @@ def get_request_type_name(request_type: RequestType) -> str:
|
|
|
54
54
|
RequestType.GetTelemetryData: 'Get Telemetry Data',
|
|
55
55
|
RequestType.GetMinMaxAvgData: 'Get Min/Max/Avg Data',
|
|
56
56
|
RequestType.GetAccessList: 'Get Access List',
|
|
57
|
+
RequestType.GetNeighbours: 'Get Neighbors',
|
|
58
|
+
RequestType.GetOwnerInfo: 'Get Owner Info',
|
|
57
59
|
}
|
|
58
60
|
return mapping.get(request_type, f"Unknown ({request_type})")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: meshcoredecoder
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: Complete Python implementation of the MeshCore Packet Decoder
|
|
5
5
|
Home-page: https://github.com/chrisdavis2110/meshcore-decoder-py
|
|
6
6
|
Author: Chris Davis
|
|
@@ -46,9 +46,18 @@ A Python library for decoding MeshCore mesh networking packets with full cryptog
|
|
|
46
46
|
## Features
|
|
47
47
|
|
|
48
48
|
- **Packet Decoding**: Decode MeshCore packets
|
|
49
|
-
- **Built-in Decryption**: Decrypt GroupText, TextMessage, and
|
|
49
|
+
- **Built-in Decryption**: Decrypt GroupText, TextMessage, Request, Response, Path, and AnonRequest payloads
|
|
50
50
|
- **Developer Friendly**: Python-first with full type hints and data classes
|
|
51
51
|
|
|
52
|
+
## Protocol reference
|
|
53
|
+
|
|
54
|
+
Packet and payload layouts follow the MeshCore protocol as described in the local docs:
|
|
55
|
+
|
|
56
|
+
- **[docs/packet_format.md](docs/packet_format.md)** – Packet layout (header, transport codes, path, payload), route types, payload types, payload versions
|
|
57
|
+
- **[docs/payloads.md](docs/payloads.md)** – Payload formats (Advert, Ack, Request/Response, TextMessage, Path, Control, Group text/datagram, etc.)
|
|
58
|
+
|
|
59
|
+
Supported payload types include: Request, Response, TextMessage, Ack, Advert, GroupText, GroupData, AnonRequest, Path, Trace, Multipart, Control (DISCOVER_REQ / DISCOVER_RESP), reserved (0x0C–0x0E), and RawCustom. Request types include GetStats, Keepalive, GetTelemetryData, GetMinMaxAvgData, GetAccessList, GetNeighbours, and GetOwnerInfo.
|
|
60
|
+
|
|
52
61
|
## Installation
|
|
53
62
|
|
|
54
63
|
### Install to a single project
|
|
@@ -231,9 +240,9 @@ if packet.payload_type == PayloadType.Trace and packet.payload.get('decoded'):
|
|
|
231
240
|
|
|
232
241
|
SNR (Signal-to-Noise Ratio) data is available from multiple packet types:
|
|
233
242
|
|
|
234
|
-
1. **TRACE Packets**
|
|
235
|
-
2. **GetStats Response Packets**
|
|
236
|
-
3. **DISCOVER_RESP Control Packets**
|
|
243
|
+
1. **TRACE Packets** – SNR values for each hop in the path
|
|
244
|
+
2. **GetStats / GetNeighbours Response Packets** – Full neighbor table with SNR values (requires decryption)
|
|
245
|
+
3. **DISCOVER_RESP Control Packets** – SNR in discovery responses (unencrypted; decode with `PayloadType.Control`)
|
|
237
246
|
|
|
238
247
|
### How GetStats Works
|
|
239
248
|
|
|
@@ -247,8 +256,8 @@ GetStats is a request/response protocol used to query a repeater node for its ne
|
|
|
247
256
|
- **Cipher MAC** (2 bytes): MAC for encrypted data
|
|
248
257
|
- **Ciphertext**: Encrypted data containing:
|
|
249
258
|
- Timestamp (4 bytes, Unix timestamp)
|
|
250
|
-
- Request type (1 byte
|
|
251
|
-
- Request data (optional,
|
|
259
|
+
- Request type (1 byte): e.g. 0x01 GetStats, 0x06 GetNeighbours, 0x07 GetOwnerInfo (see [docs/payloads.md](docs/payloads.md))
|
|
260
|
+
- Request data (optional, depends on request type)
|
|
252
261
|
|
|
253
262
|
**2. Receiving a Neighbor List Response:**
|
|
254
263
|
- The target repeater responds with a Response packet
|
|
@@ -378,9 +387,9 @@ Byte 8+: Array of neighbor entries, each entry:
|
|
|
378
387
|
|--------|---------|-----------------|---------------------|
|
|
379
388
|
| **TRACE Packets** | ✅ Path SNR per hop | Path hashes, trace tag | ❌ No |
|
|
380
389
|
| **Response Packets** | ✅ Neighbor SNR | Full neighbor table (pubkey prefixes, timestamps) | ✅ Yes (node key) |
|
|
381
|
-
| **DISCOVER_RESP** | ✅ SNR | Node info, tag
|
|
390
|
+
| **DISCOVER_RESP (Control)** | ✅ SNR | Node info, tag, pubkey (8 or 32 bytes) | ❌ No |
|
|
382
391
|
|
|
383
|
-
**Note:** Response packets are the only source that provides the complete neighbor table with pubkey prefixes, timestamps, and SNR values. TRACE packets provide SNR for the specific path taken
|
|
392
|
+
**Note:** Response packets are the only source that provides the complete neighbor table with pubkey prefixes, timestamps, and SNR values. TRACE packets provide SNR for the specific path taken. Control packets with sub_type DISCOVER_RESP provide SNR and node pubkey (or prefix) without decryption.
|
|
384
393
|
|
|
385
394
|
**NeighborEntry Object:**
|
|
386
395
|
|
|
@@ -432,6 +441,10 @@ The CLI will automatically:
|
|
|
432
441
|
- Display total neighbors available and neighbors in the packet
|
|
433
442
|
- Show each neighbor's pubkey prefix, SNR, and timestamps
|
|
434
443
|
|
|
444
|
+
## Packet format (summary)
|
|
445
|
+
|
|
446
|
+
Each packet is: **header** (1 byte) → optional **transport_codes** (4 bytes for Transport Flood/Direct) → **path_length** (1 byte) → **path** (0–64 bytes) → **payload** (0–184 bytes). The header encodes route type (bits 0–1), payload type (bits 2–5), and payload version (bits 6–7). Path length is variable (e.g. 0, 1, or 2 bytes of path data are all valid). Full field descriptions and tables are in [docs/packet_format.md](docs/packet_format.md).
|
|
447
|
+
|
|
435
448
|
## Packet Structure Analysis
|
|
436
449
|
|
|
437
450
|
For detailed packet analysis and debugging, use `analyze_structure()` to get byte-level breakdowns:
|
|
@@ -671,7 +684,7 @@ packet = MeshCoreDecoder.decode(packet_hex)
|
|
|
671
684
|
|
|
672
685
|
if packet.payload_type == PayloadType.Ack:
|
|
673
686
|
ack = packet.payload['decoded']
|
|
674
|
-
print(f"Checksum:
|
|
687
|
+
print(f"Checksum: {ack.checksum}") # 4-byte CRC (hex)
|
|
675
688
|
```
|
|
676
689
|
|
|
677
690
|
#### Trace
|
|
@@ -689,6 +702,25 @@ if packet.payload_type == PayloadType.Trace:
|
|
|
689
702
|
print(f" Hop {i}: {snr:.1f} dB")
|
|
690
703
|
```
|
|
691
704
|
|
|
705
|
+
#### Control (DISCOVER_REQ / DISCOVER_RESP)
|
|
706
|
+
```python
|
|
707
|
+
# Control payloads are unencrypted. Sub-types include DISCOVER_REQ (0x8) and DISCOVER_RESP (0x9).
|
|
708
|
+
packet_hex = "2D00..." # Flood + Control + path_len=0 + payload (flags + data)
|
|
709
|
+
packet = MeshCoreDecoder.decode(packet_hex)
|
|
710
|
+
|
|
711
|
+
if packet.payload_type == PayloadType.Control and packet.payload.get('decoded'):
|
|
712
|
+
ctrl = packet.payload['decoded']
|
|
713
|
+
print(f"Sub-type: 0x{ctrl.sub_type:x}")
|
|
714
|
+
if ctrl.parsed.get('sub_type_name') == 'DISCOVER_REQ':
|
|
715
|
+
print(f" prefix_only: {ctrl.parsed.get('prefix_only')}")
|
|
716
|
+
print(f" type_filter: {ctrl.parsed.get('type_filter_hex')}")
|
|
717
|
+
print(f" tag: {ctrl.parsed.get('tag_hex')}")
|
|
718
|
+
elif ctrl.parsed.get('sub_type_name') == 'DISCOVER_RESP':
|
|
719
|
+
print(f" SNR: {ctrl.parsed.get('snr_db')} dB")
|
|
720
|
+
print(f" tag: {ctrl.parsed.get('tag_hex')}")
|
|
721
|
+
print(f" pubkey: {ctrl.parsed.get('pubkey', '')[:16]}...")
|
|
722
|
+
```
|
|
723
|
+
|
|
692
724
|
### Encrypted Packets (Require Keys)
|
|
693
725
|
|
|
694
726
|
#### GroupText
|
|
@@ -800,6 +832,42 @@ for name, hex_data, opts in packets:
|
|
|
800
832
|
|
|
801
833
|
|
|
802
834
|
|
|
835
|
+
## Publishing to PyPI
|
|
836
|
+
|
|
837
|
+
To release a new version and upload to PyPI:
|
|
838
|
+
|
|
839
|
+
1. **Bump the version** in these files (keep them in sync):
|
|
840
|
+
- `pyproject.toml` → `version = "X.Y.Z"`
|
|
841
|
+
- `meshcoredecoder/__init__.py` → `__version__ = "X.Y.Z"`
|
|
842
|
+
- `setup.py` → `version="X.Y.Z"`
|
|
843
|
+
- `index.py` → `__version__ = "X.Y.Z"`
|
|
844
|
+
|
|
845
|
+
2. **Install build tools** (if needed):
|
|
846
|
+
```bash
|
|
847
|
+
pip install build twine
|
|
848
|
+
```
|
|
849
|
+
|
|
850
|
+
3. **Build the package**:
|
|
851
|
+
```bash
|
|
852
|
+
python -m build
|
|
853
|
+
```
|
|
854
|
+
This creates `dist/meshcoredecoder-X.Y.Z.tar.gz` and `dist/meshcoredecoder_X.Y.Z-*.whl`.
|
|
855
|
+
|
|
856
|
+
4. **Upload to PyPI** (requires a [PyPI account](https://pypi.org/account/register/) and API token):
|
|
857
|
+
```bash
|
|
858
|
+
twine upload dist/*
|
|
859
|
+
```
|
|
860
|
+
Use your PyPI username and an [API token](https://pypi.org/manage/account/token/) as the password. For Test PyPI first:
|
|
861
|
+
```bash
|
|
862
|
+
twine upload --repository testpypi dist/*
|
|
863
|
+
```
|
|
864
|
+
|
|
865
|
+
5. **Tag the release** (optional):
|
|
866
|
+
```bash
|
|
867
|
+
git tag vX.Y.Z
|
|
868
|
+
git push origin vX.Y.Z
|
|
869
|
+
```
|
|
870
|
+
|
|
803
871
|
## License
|
|
804
872
|
|
|
805
873
|
MIT License
|
|
@@ -23,6 +23,7 @@ meshcoredecoder/decoder/payload_decoders/__init__.py
|
|
|
23
23
|
meshcoredecoder/decoder/payload_decoders/ack.py
|
|
24
24
|
meshcoredecoder/decoder/payload_decoders/advert.py
|
|
25
25
|
meshcoredecoder/decoder/payload_decoders/anon_request.py
|
|
26
|
+
meshcoredecoder/decoder/payload_decoders/control.py
|
|
26
27
|
meshcoredecoder/decoder/payload_decoders/group_data.py
|
|
27
28
|
meshcoredecoder/decoder/payload_decoders/group_text.py
|
|
28
29
|
meshcoredecoder/decoder/payload_decoders/path.py
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
Copyright (c) 2025 Michael Hart: https://github.com/michaelhart/meshcore-decoder
|
|
3
|
-
MIT License
|
|
4
|
-
|
|
5
|
-
MeshCore packet type definitions
|
|
6
|
-
Reference: https://github.com/meshcore-dev/MeshCore/blob/main/docs/packet_structure.md
|
|
7
|
-
"""
|
|
8
|
-
|
|
9
|
-
from enum import Enum
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class RouteType(Enum):
|
|
13
|
-
TransportFlood = 0x00
|
|
14
|
-
Flood = 0x01
|
|
15
|
-
Direct = 0x02
|
|
16
|
-
TransportDirect = 0x03
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
class PayloadType(Enum):
|
|
20
|
-
Request = 0x00
|
|
21
|
-
Response = 0x01
|
|
22
|
-
TextMessage = 0x02
|
|
23
|
-
Ack = 0x03
|
|
24
|
-
Advert = 0x04
|
|
25
|
-
GroupText = 0x05
|
|
26
|
-
GroupData = 0x06
|
|
27
|
-
AnonRequest = 0x07
|
|
28
|
-
Path = 0x08
|
|
29
|
-
Trace = 0x09
|
|
30
|
-
Multipart = 0x0A
|
|
31
|
-
RawCustom = 0x0F
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
class PayloadVersion(Enum):
|
|
35
|
-
Version1 = 0x00
|
|
36
|
-
Version2 = 0x01
|
|
37
|
-
Version3 = 0x02
|
|
38
|
-
Version4 = 0x03
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
class DeviceRole(Enum):
|
|
42
|
-
ChatNode = 0x01
|
|
43
|
-
Repeater = 0x02
|
|
44
|
-
RoomServer = 0x03
|
|
45
|
-
Sensor = 0x04
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
class AdvertFlags(Enum):
|
|
49
|
-
HasLocation = 0x10
|
|
50
|
-
HasFeature1 = 0x20
|
|
51
|
-
HasFeature2 = 0x40
|
|
52
|
-
HasName = 0x80
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
class RequestType(Enum):
|
|
56
|
-
GetStats = 0x01
|
|
57
|
-
Keepalive = 0x02 # deprecated
|
|
58
|
-
GetTelemetryData = 0x03
|
|
59
|
-
GetMinMaxAvgData = 0x04
|
|
60
|
-
GetAccessList = 0x05
|
|
61
|
-
GetNeighbours = 0x06
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder/decoder/payload_decoders/trace.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{meshcoredecoder-0.2.3 → meshcoredecoder-0.3.0}/meshcoredecoder.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|