Fix Meshtext metadata lifecycle and radio2 readiness refresh
Delay automatic GPS-free NodeInfo until a quiet TX gap, invalidate stale metadata after durable node renames, and refresh the profile when same-tuple publication releases its busy guard. Cover the real Companion methods and document the behavior.
This commit is contained in:
1 parent
8687b027d6
commit
bc1b414af0
8 files changed
+220
-14
No files matched your search
@@ -11,7 +11,9 @@ For supported Full Companions, see [Meshtext channel chat](radio_profiles.md#mes
|
||||
for `mt-` channels and the explicit `send mt.nodeinfo <channel slot>` command.
|
||||
Chat remains plain text. A separate GPS-free NodeInfo is sent after the first
|
||||
successful chat transmission per used channel/identity per boot; the explicit
|
||||
command can also request one. MT heard-repeat retries use the Companion's
|
||||
command can also request one. Automatic metadata waits for a 250 ms gap after
|
||||
the latest successful MT transmission; explicit requests bypass that gap.
|
||||
MT heard-repeat retries use the Companion's
|
||||
`flood.retry.count`, with the metadata cap and `flood.retry.advert` gate for
|
||||
NodeInfo.
|
||||
|
||||
|
||||
@@ -521,10 +521,15 @@ MeshCore node name, add a label to chat text or transmit anything.
|
||||
|
||||
After the first chat packet actually finishes transmitting on a configured MT
|
||||
channel, the Companion queues a separate, GPS-free `NODEINFO_APP` broadcast.
|
||||
Automatic metadata waits for a 250 ms gap after the most recent successful MT
|
||||
transmission, including retries, so a stock peer can re-arm its receiver.
|
||||
Explicit `send mt.nodeinfo` does not wait for this automatic-metadata gap.
|
||||
This happens once per used channel and sender identity per boot, not for every
|
||||
chat message. A rejected or failed chat send does not trigger it. There is no
|
||||
NodeInfo transmission just from booting, receiving traffic, changing settings
|
||||
or joining a channel, and there is no periodic NodeInfo timer.
|
||||
Changing the node name cancels old-name metadata retries; the next new
|
||||
successful chat announces the updated name without sending from the rename.
|
||||
|
||||
`send mt.nodeinfo <channel slot>` still explicitly queues **one** standard
|
||||
`NODEINFO_APP` broadcast on the selected configured MT channel. The slot is
|
||||
|
||||
@@ -63,6 +63,7 @@ channel 0 Hello
|
||||
Use a configured `mt-` channel slot. Chat carries only the entered text. After
|
||||
the first successful over-air chat transmission per used channel/identity per
|
||||
boot, the firmware queues a separate standard name/ID NodeInfo advertisement.
|
||||
Automatic metadata waits for a 250 ms quiet TX gap so the peer can resume RX.
|
||||
`send mt.nodeinfo` can also request one explicitly. Neither contains GPS or
|
||||
coordinates. No NodeInfo is sent just from booting, configuration, receiving
|
||||
traffic or a timer. The long name comes from the existing node name;
|
||||
|
||||
Reference in new issue
Block a user