- Power on your node in the morning. It is not connected to any smartphone or PC via BT/USB/HTTP;
- In the evening, connect to it via BT/USB/HTTP;
- Access all messages received in Primary channel and/or DMs.
Is it possible? How many messages does a node store in it's internal memory? How to access them via terminal? If node is restarted, are they erased?
I have a Heltec V3. In Meshtatsic CLI there's --listen option, but it's about receiving new packages in real time.
13 Comments
hades@feddit.uk · 7 pts · 157d
https://meshtastic.org/docs/overview/
And yes, they persist if you restart the node. Not sure what you mean by “terminal”, there are a couple of CLI tools for meshtastic, including a practically complete chat app.
linuxguy@piefed.ca · 3 pts · 157d
Try running 'meshmonitor'. It'll keep a history for you.
UnrefinedChihuahua@lemmy.dbzer0.com · 1 pts · 140d
Just found MM yesterday while searching for a similar question. Great for my fixed base node.
linuxguy@piefed.ca · 2 pts · 140d
I'm digging it. Especially the virtual node I can connect multiple things to
avidamoeba@lemmy.ca · 3 pts · 157d
As far as I can tell my RAK stores them. Feels like it stores more than 30 but I'm unsure.
IcedRaktajino@startrek.website · 2 pts · 157d
This is from memory and anecdotal, so take it with a grain of salt.
On firmwares below 2.7, I think it only stored the last-received message on the node itself. 2.7+ may store the latest message from up to a few different contacts, but not more than that (if even that). Either way, it's not really meant to operate as a "mailbox" where you can retrieve the messages later; they basically need to go somewhere as they're received.
There's a store-and-forward mode that can be enabled, but it stores all messages for everyone and is more of an infrastructure node role. It also requires hardware that has PSRAM which the Heltec V3's don't have.
podbrushkin@mander.xyz · 2 pts · 157d
Why not, where's bottleneck? Internal memory is too small? Packets are 255 bytes each, doesn't seem like there's much to store.
IcedRaktajino@startrek.website · 1 pts · 157d
AFAIK, yes, memory. There are a lot more packets than just text messages. Telemetry, node info, positions/waypoints, etc.
podbrushkin@mander.xyz · 0 pts · 157d
There are standalone devices with integrated keyboard for typing messages. I'd expect them to be able to store a lot of messages, regardless of firmware version. Imagine someone sent 7 "test" messages to Primary channel and thus wiped your DM's. Doesn't feel right.
What about MeshCore, can it operate as a mailbox? Mailbox mode will be extremely convenient.
shortwavesurfer@lemmy.zip · 1 pts · 156d
No, it's a hardware limitation. There's only so much memory on these little devices, and once it's full, it starts replacing old messages.
podbrushkin@mander.xyz · 1 pts · 156d
I wonder how many messages can it store. I will try leaving my node for a day and will see timestamp of earliest messages and how many there are. Also, maybe it worth checking out firmware source code. Different devices can have different limit.
podbrushkin@mander.xyz · 1 pts · 157d
Related:
podbrushkin@mander.xyz · 0 pts · 157d
Hmm maybe this is what I want: https://github.com/brad28b/meshtastic-cli-receive-text But I can't install it currently, I get python stack trace instead...
UPD. Fail. I've managed to launch it, but it is same as "listen", it receives only new messages in real time.