Add region transport code support in README and decoder#7
Closed
agessaman wants to merge 14 commits intomichaelhart:mainfrom
Closed
Add region transport code support in README and decoder#7agessaman wants to merge 14 commits intomichaelhart:mainfrom
agessaman wants to merge 14 commits intomichaelhart:mainfrom
Conversation
Contributor
agessaman
commented
Feb 20, 2026
- Documented the use of regions and transport codes in packet handling within README.md.
- Updated packet decoder to properly extract and describe region transport codes in the packet structure.
- Exported new functions related to region transport code calculations in index.ts.
…extMessage - Standardize hex output to uppercase and add comprehensive payload decoders - Create centralized hex utilities (byteToHex, bytesToHex, numberToHex, hexToBytes) - Replace all manual hex conversion with standardized uppercase utilities - Update all existing decoders (Advert, Trace, GroupText) to use hex utilities - Add comprehensive unit tests validating all decoded field values - Export hex utilities from main index for external use - Remove duplicate hex conversion methods from crypto and decoder classes
- Add segment analysis support to all payload types: - TracePayloadDecoder: trace tag, auth code, flags, path hashes - ResponsePayloadDecoder: destination hash, source hash, cipher MAC, ciphertext - GroupTextPayloadDecoder: channel hash, cipher MAC, ciphertext - AckPayloadDecoder: checksum, additional data - AdvertPayloadDecoder: public key, timestamp, signature, app flags, location, node name - Extract enum name utilities into separate module - Add MeshCoreDecoder as shorter alias for MeshCorePacketDecoder - Add Utils namespace combining all utility functions for cleaner imports - Export getRouteTypeName, getPayloadTypeName, getPayloadVersionName, getDeviceRoleName, getRequestTypeName - Remove unused getPayloadSegments method and private enum name methods
- Add payload segment analysis for detailed packet structure breakdown - Implement payload decoders for Request, Response, AnonRequest, Ack, Path, TextMessage - Version bump to 0.1.2
- Documented the use of regions and transport codes in packet handling within README.md. - Updated packet decoder to properly extract and describe region transport codes in the packet structure. - Exported new functions related to region transport code calculations in index.ts.
Owner
|
Whelp I tried to change the base from dev to main and github closed it :( and apparently I can't reopen it either? :/ |
Owner
|
I got this added in 819242d, thank you @agessaman! 🙏 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.