Commit Graph

11 Commits

Author SHA1 Message Date
Daniel Pupius f10111e37d Better handling of map reports 2025-04-20 17:18:26 -07:00
Daniel Pupius 2f8ee3c9e1 Use DecodeMessage for map format packets
- Simplify design by using DecodeMessage for map format too
- Remove redundant DecodeMapReport function
- Update FormatTopicAndMapData to format decoded packets
- Improve handling of map format packets

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-20 16:53:51 -07:00
Daniel Pupius 42304465a3 Add support for map format messages
- Added handling for topics with "map" format (2/map)
- Display map data as readable text rather than hex
- Added new FormatTopicAndMapData function to formatter.go
- Added map format condition in main.go message handler

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-20 16:00:35 -07:00
Daniel Pupius 0c92ace2fa Separate decoding and formatting into dedicated files
- Created new formatter.go file with all formatting functions
- Replaced deprecated FormatData with improved FormatDataMessage
- Updated main.go to separate decoding and formatting steps
- Created specialized formatting functions for different message types
- Better separation of concerns for improved maintainability

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-04-20 15:32:44 -07:00
Daniel Pupius ef3cd1a931 Separating decoder and formatter 2025-04-20 15:04:07 -07:00
Daniel Pupius cd648508c1 Beginning of message decryption 2025-04-18 18:40:30 -07:00
Daniel Pupius 044e229ab8 Implement channel-based encryption/decryption using XOR and AES 2025-04-18 17:58:24 -07:00
Daniel Pupius 93c0e9e94f Refactor decoder to use protocol buffers directly for ServiceEnvelope decoding 2025-04-18 17:48:21 -07:00
Daniel Pupius 5537556d22 Update decoder to match correct Meshtastic MQTT topic structure 2025-04-18 16:28:09 -07:00
Daniel Pupius af958ff295 Add protocol buffer generation and packet decoder 2025-04-18 16:13:41 -07:00
Daniel Pupius d09bfb320f Initial commit: MQTT client for monitoring Meshtastic packets 2025-04-18 16:03:47 -07:00