Virheenjäljityslokitiedot
Kun jokin toimii odottamattomasti, sovelluksen virheenjäljityslokitiedot ovat hyödyllisin liite vikaraporttiin. Meshtastic voi kerätä ne puolestasi suoraan sovelluksessa — niiden keräämiseen ei tarvita adb:tä eikä työpöydän työkaluja.
Avaa Virheenjäljityspaneeli kohdasta Asetukset → Lisäasetukset → Virheenjäljityspaneeli.
Jos teet vikailmoituksen, vie lokit (katso Lokien vieminen) ja liitä .txt-tiedosto raporttiisi Meshtastic-Androidin vikaseurannassa. Lokitietotallenne, joka kattaa hetken jolloin ongelma ilmeni, auttaa muuttamaan “ei toimi” -kuvauksen sellaiseksi, jonka kehittäjä pystyy oikeasti selvittämään.
Kaksi välilehteä
The Debug Panel has three tabs:
- Packets — the decoded mesh traffic your node has sent and received (protocol-level messages). Hyödyllinen mesh-verkon ja reitityksen toiminnan diagnosointiin.
- Sovelluslokitiedot — sovelluksen oma diagnostiikkaloki (Androidin logcat), joka sisältää varoitukset, virheet ja pinoseurannat itse sovelluksesta. Tätä tarvitaan yleensä vikaraportissa.
- Mirror — a live view of the connected node’s screen with remote controls; see Mirror.
The Packets and App logs tabs each have their own export button and produce their own file, so you can grab whichever is relevant — or both.
Viewing packets
The Packets tab lists each logged packet; tap one to expand it, including its decoded payload where there is one.
- Search — type in Search in logs… to highlight matches, and step between them with the arrows.
- Filters — add your own text filters, or pick from Preset Filters: your own node ID, the broadcast address
!ffffffff,decoded, today’s date, and each port name. The match toggle switches between matching any filter and matching all of them. - Settings — the gear icon shows Store mesh logs, which turns writing packets to the log on or off, and MeshLog retention period, from one hour to a year, or Never delete logs.
- Clear Logs — the delete icon removes every stored packet, after you confirm.
Sovelluslokitietojen tarkastelu
Sovelluksen lokit -välilehdellä näkyvät tämän sovelluksen uusimmat lokirivit — ei koskaan muiden puhelimesi sovellusten.
- Haku — kirjoita hakukenttään suodattaaksesi vastaavat lokirivit.
- Tasosuodatin — V / D / I / W / E -painikkeilla voit näyttää tai piilottaa Verbose-, Debug-, Info-, Warn- ja Error-lokirivit. Piilota taso napauttamalla sitä. Napauta uudelleen, niin se tulee takaisin näkyviin. Vakavat virheet näytetään aina.
- Päivitä — päivityskuvake lukee uusimmat lokitiedot uudelleen.
Virhe- ja varoitusrivit on korostettu, jotta ongelmat erottuvat paremmin.
Mirror
The Mirror tab shows the screen of the connected node. It reads Not connected to a device. with no connection, and Screen mirroring needs newer firmware when the node does not report a display; the D-pad still sends keys in that case.
- Mirror off / Mirroring — the switch streams the screen continuously, and Refresh fetches one frame. On an e-ink display prefer Refresh, since the screen updates slowly.
- D-pad — arrow keys, OK, and Back press the node’s buttons.
- Keyboard — the Keyboard chip captures keys: arrows navigate, Enter is OK, Esc is back, and typed text reaches the node. On a node without a touch panel, tapping the mirrored screen toggles it too. On a touch-capable node, a tap or touch & hold on the image sends a touch, and a swipe sends one direction.
Mirroring stops when you leave the tab, and the controls are off on a managed node.
Mirroring needs firmware newer than 2.8.2 on a node running BaseUI. InkHUD nodes can’t be mirrored, and Meshtastic UI (MUI) nodes only on firmware built with MUI mirroring, which no release enables, and only on boards that can also run BaseUI. An MUI node streams to one connection at a time, so a second app gets no picture until the first stops.
Lokien vienti
Napauta latauskuvaketta tallentaaksesi nykyiset lokitiedot tiedostoon. The app first shows a warning about what the file contains — confirm it, then choose where the file goes through the system file picker. The file is named with a timestamp (for example meshtastic_logcat_20260701_143312.txt) so repeated exports never overwrite each other. The same warning guards the Packets tab export.
Liitä tämä tiedosto GitHub-vikaraporttiisi.
🔒 Privacy: Exports automatically redact private keys, admin keys, session passkeys, and channel PSKs, and suppress raw packet bytes. Everything else stays — the file can contain your message text, precise locations, and node details. Read it before sharing it publicly, and share privately if you have any doubt.
Työpöytä
Työpöytäsovelluksessa ei ole järjestelmän logcat-lokitietoa, joten Sovelluslokit-välilehti näyttää sen sijaan sovelluksen itse keräämät lokit. Haku, suodatus ja vienti toimivat samalla tavalla. Release builds capture Info, Warn, and Error lines; Verbose and Debug lines appear only in development builds.
Aiheeseen liittyvät aiheet
- Ohjeet ja sovelluksen sisäinen dokumentaatio — tämän dokumentaation lukeminen offline-tilassa sovelluksessa
- Connections — if the problem is getting connected to your node in the first place