Listing current values/settings

I searched and found a way to keep the bluetooth alive via wait_bluetooth_secs, but I was looking for a way to find the current value before changing it.

I used --info to check beforehand and it wasn’t listed. After I changed it, it was listed. What is the default value? Or how do I remove that value to set it to default?

Thanks.

If you set to 0 it will get the default value. For a listing of the configurable parameters alas currently the best docs are in mesh.proto. I’m only on phone today so hard for me to link but perhaps someone else can link to the file/line on GitHub?

1 Like

@geeksville

mesh.proto says it’s 2 minutes
power.md says it’s 30 seconds
NodeDB.h says 60 seconds

I’d believe NodeDB.h

2 Likes

Ooh sorry. Yeah the values in nodedb.h should be used to update the mesh.proto comment :wink:

1 Like

I’m implementing a soft-shutdown (long press of user button for 10 seconds) to support the device shutdown/wakeup of the axp. I realized that I was burning battery power while transporting devices or if it’s sitting on on my bench unplugged from USB.

It was also made my nerves go up when I had to disconnect the antenna for a moment for some reason – I had to hope that the device wouldn’t transmit with the antenna disconnected.

I’ll update that documentation for you once I’m done with this.

1 Like

Done. Docs and protobuf updated.

1 Like