firmware icon indicating copy to clipboard operation
firmware copied to clipboard

[Bug]: Factory reset not actually resetting node.

Open madeofstown opened this issue 1 year ago • 4 comments

Category

Other

Hardware

Heltec Wireless Tracker

Firmware Version

2.3.10.d19670b

Description

Performing a factory reset from the Android app on Heltec Wireless Tracker v1.1 appears to leave old messages and nodes (now all unknown name) on the device.

Steps to reproduce:

  1. Be connected to node via Bluetooth to your Android device.
  2. Go to settings and select the Factory Reset option. Confirm. Whatch node reboot.
  3. Re-pair and reconnect to same Android device.
  4. See message on node screen. It's from ??? 2 hours ago.(I did receive the message 2 hours ago before driving to a different city on different side of mountain range and factory resetting. Pretty sure it's not being retransmitted.)
  5. Scroll through screen and see a bunch of Unknown Name nodes. (This is without setting a region from the Android app)

Update: The Node now also displays on screen that it is connected to other nodes. I still haven't set up a region since the factory reset. Update:

Relevant log output

No response

madeofstown avatar May 31 '24 22:05 madeofstown

It may be that you're seeing those nodes and messages stored on the Android app (now unknown since the node has indeed factory reset). There may well be a separate option in the Android app to clear the node database from the app.

To be sure, you can check the nodes on the device directly using the Python CLI, with the command meshtastic --nodes. If you see none (or a handful in the seconds since the factory reset) then it is resetting as expected. If you see them all still there then it's not.

clwgh avatar Jun 01 '24 13:06 clwgh

Clearing the node database before or after factory reset doesn't seem to make any difference.

madeofstown avatar Jun 02 '24 15:06 madeofstown

It may be that you're seeing those nodes and messages stored on the Android app (now unknown since the node has indeed factory reset).

I don't believe the android app perpetually stores nodes. They seem to be stored in a volatile fashion. They will stick around when disconnected from a device. But when reconnecting it pulls down a fresh copy of the node DB stored on the device. Regardless, it's not possible to narrow down the issue to app or node unless @madeofstown provides the output from the CLI on a node query.

rjDipcord avatar Jun 16 '24 08:06 rjDipcord

Sorry, I've been working on other projects. I'll try to get around to capturing CLI output from the node this week.

madeofstown avatar Jun 17 '24 14:06 madeofstown

Hi @madeofstown , we've made some changes to factory reset over the past couple months. Could you give it a try again with the latest firmware?

fifieldt avatar Sep 16 '24 12:09 fifieldt