Shutdown with Button even though no button installed

Please include the following information, in order for us to help you as effectively as possible.

  • What product do you wish to discuss? RAK4631

  • What firmware are you using? Meshtastic

  • What firmware version? 2.2.23.5672e68 Beta

  • Computer OS? Windows 11

  • What Computer OS version? Windows 11

  • How often does the problem happen? Consistently

  • How can we replicate the problem? I’m not sure

DEBUG | ??:??:?? 39 [Router] Add packet record (id=0x4ef70525 fr=0x49 to=0xff, WantAck=0, HopLim=2 Ch=0x8 encrypted rxSNR=7.75 rxRSSI=-37)

DEBUG | ??:??:?? 39 [Router] Ignoring incoming msg, because we’ve already seen it (id=0x4ef70525 fr=0x49 to=0xff, WantAck=0, HopLim=2 Ch=0x8 encrypted rxSNR=7.75 rxRSSI=-37)

DEBUG | ??:??:?? 39 [Router] cancelSending id=0x4ef70525, removed=0

DEBUG | ??:??:?? 39 [Router] Incoming message was filtered 0x27e12849

> INFO | ??:??:?? 42 [Button] Shutdown from long press

INFO | ??:??:?? 42 [Button] toRadioWriteCb data 0x2001beda, len 25

DEBUG | ??:??:?? 42 [Button] PACKET FROM PHONE (id=0x1a5b9c2d fr=0x49 to=0xdc, WantAck=1, HopLim=0 Ch=0x0 Portnum=70 WANTRESP)

WARN | ??:??:?? 42 [Button] phone tried to pick a nodenum, we don’t allow that.

DEBUG | ??:??:?? 42 [Button] localSend to channel 0

DEBUG | ??:??:?? 42 [Button] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=20, time 387 ms

DEBUG | ??:??:?? 42 [Button] Setting next retransmission in 7458 msecs: (id=0x1a5b9c2d fr=0x00 to=0xdc, WantAck=1, HopLim=3 Ch=0x0 Portnum=70 WANTRESP)

DEBUG | ??:??:?? 42 [Button] Add packet record (id=0x1a5b9c2d fr=0x00 to=0xdc, WantAck=1, HopLim=3 Ch=0x0 Portnum=70 WANTRESP)

DEBUG | ??:??:?? 42 [Button] Expanding short PSK #1

DEBUG | ??:??:?? 42 [Button] Using AES128 key!
DEBUG | ??:??:?? 42 [Button] nRF52 encrypt fr=27e12849, num=1a5b9c2d, numBytes=4!
DEBUG | ??:??:?? 42 [Button] enqueuing for send (id=0x1a5b9c2d fr=0x49 to=0xdc, WantAck=1, HopLim=3 Ch=0x8 encrypted)
DEBUG | ??:??:?? 42 [Button] txGood=1,rxGood=4,rxBad=0
INFO | ??:??:?? 45 [Button] Shutting down
INFO | ??:??:?? 45 [Button] Entering deep sleep forever

I just loaded the Meshtastic firmware on this new Wisblock and it was stuck in a boot loop and I wasn’t sure why. I connected my Wisblock to the flasher.meshtastic.org Serial Monitor and found the attached log.

I have not connected any buttons, but it thinks a button is forcing a shutdown. I need to know how to stop this.

Any assistance would be appreciated.

Welcome to the forum @6JS6C-12BY7A

I am sorry, we are not developing or maintaining Meshtastic firmware, so we can give only very limited support.

What other modules do you have on the WisBlock Base Board?
Meshtastic is defining WB_IO5 as a button input. If you have any module that might use that GPIO, you will have to re-compile the Meshtastic firmware and disable the button.

We cannot help how to do this. Please ask at Meshtastic.org.