aboutsummaryrefslogtreecommitdiff
path: root/util.go
AgeCommit message (Collapse)Author
2024-02-19update import pathsSmoke
2024-02-16feat/update-protobufs (#16)Smoke
* use meshnet-gophers protobufs * update go.mod for meshnet-gophers protobufs * update protos * add gitignore * update go.mod * use locally generated protobufs * add generate.go * use meshtastic protobufs upstream
2024-02-02Support for generating random NodeIDs and deriving Short/Long names (#2)Noah Stride
* Super rough initial subscription to channels and sending node info * Very ugly hacky FromRadio subscription * Add more TODOs :weary: * Add log message before we try to broadcast NodeInfo * Add basic positioning broadcasting * demo sending message from consumer * Use const for BroadcastNodeID * Config validation and defaults * Tidy up examples/TODOs * Tidy up example * Handle position and devicetelemetry updates * Fix dodgy merge * Allow configuring interval for nodeinfo/position seperately * Make broadcasted position configurable * Add MQTTProtoTopic constant rather than modifying topic root * Add Long/Short generation from NodeID * Mimic Meshtastic source more closely * Use generated Long/Short when not specified * Add TestRandomNodeID * Generate NodeID above the threshold
2024-01-31Rough initial radio emulator (#1)Noah Stride
* Super rough initial subscription to channels and sending node info * Very ugly hacky FromRadio subscription * Add more TODOs :weary: * Add log message before we try to broadcast NodeInfo * Add basic positioning broadcasting * demo sending message from consumer * Use const for BroadcastNodeID * Config validation and defaults * Tidy up examples/TODOs * Tidy up example * Handle position and devicetelemetry updates * Fix dodgy merge * Allow configuring interval for nodeinfo/position seperately * Make broadcasted position configurable * Add MQTTProtoTopic constant rather than modifying topic root * Allow altitude of broadcasted position to be configured * static check ignore
2024-01-19updatesSmoke