Skip to content

[Bug]: No Bluetooth on RAK WisMesh Ethernet MQTT Gateway with 2.7.3 or 2.7.4 #7421

Description

@sshtx

Category

BLE

Hardware

Rak4631

Is this bug report about any UI component firmware like InkHUD or Meshtatic UI (MUI)?

  • Meshtastic UI aka MUI colorTFT
  • InkHUD ePaper
  • OLED slide UI on any display

Firmware Version

2.7.3.cf574c7 and 2.7.4-c1f4f79

Description

On 2.5.x and 2.6.x firmwares, Bluetooth works as expected on the RAK4631-based RAK WisMesh Ethernet MQTT Gateway with the firmware-rak4631_eth_gw releases.

On 2.7.3 or 2.7.4 firmware, Bluetooth does not work as expected on this hardware, regardless of whether an upgrade with existing configs from 2.5.x or 2.6.x are present, or where a full flash erase are performed prior to updating to 2.7.3 or 2.7.4.

Notably, the lines:

DEBUG | ??:??:?? 4 [PowerFSM] Init NRF52 Bluetooth
INFO  | ??:??:?? 4 [PowerFSM] Init the Bluefruit nRF52 module
INFO  | ??:??:?? 5 [PowerFSM] Bluetooth pin set to '123456'
INFO  | ??:??:?? 5 [PowerFSM] Init the Device Information Service
INFO  | ??:??:?? 5 [PowerFSM] Init the Battery Service
INFO  | ??:??:?? 5 [PowerFSM] Init the Mesh bluetooth service
INFO  | ??:??:?? 5 [PowerFSM] Set up the advertising payload(s)
INFO  | ??:??:?? 5 [PowerFSM] Advertise

are missing from log output on the device with firmware-rak4631_eth_gw-2.7.3.cf574c7 and 2.7.4-c1f4f79 but exist on firmware-rak4631_eth_gw-2.6.11.60ec05e

Log output included. Please note, log output of 2.6.11.60ec05e is below the log output of the reported problem build firmware-rak4631_eth_gw-2.7.3.cf574c7(.uf2)

Relevant log output

% meshtastic --noproto 
WARNING file:mesh_interface.py _sendToRadio line:1183 Not sending packet because protocol use is disabled by noProto
Connected to radio
INFO  | ??:??:?? 2 

//\ E S H T /\ S T / C

DEBUG | ??:??:?? 2 Filesystem files:
DEBUG | ??:??:?? 2  prefs (directory)
DEBUG | ??:??:?? 2    config.proto (99 Bytes)
DEBUG | ??:??:?? 2    module.proto (109 Bytes)
DEBUG | ??:??:?? 2    channels.proto (57 Bytes)
DEBUG | ??:??:?? 2    device.proto (96 Bytes)
DEBUG | ??:??:?? 2    nodes.proto (228 Bytes)
DEBUG | ??:??:?? 2  adafruit (directory)
DEBUG | ??:??:?? 2  bond_prph (directory)
DEBUG | ??:??:?? 2  bond_cntr (directory)
DEBUG | ??:??:?? 2 Power::lipoInit lipo sensor is not ready yet
DEBUG | ??:??:?? 2 Use analog input 5 for battery level
INFO  | ??:??:?? 2 Scan for i2c devices
DEBUG | ??:??:?? 2 Scan for I2C devices on port 1
INFO  | ??:??:?? 2 No I2C devices found
DEBUG | ??:??:?? 2 acc_info = 0
INFO  | ??:??:?? 2 S:B:9,2.7.3.cf574c7,rak4631_eth_gw,meshtastic/firmware
DEBUG | ??:??:?? 2 Reset reason: 0x0
DEBUG | ??:??:?? 2 Set random seed XXXXXXXXXX
INFO  | ??:??:?? 2 Init NodeDB
INFO  | ??:??:?? 2 Load /prefs/nodes.proto
INFO  | ??:??:?? 2 Loaded /prefs/nodes.proto successfully
INFO  | ??:??:?? 2 Loaded saved nodedatabase version 24, with nodes count: 1
INFO  | ??:??:?? 2 Load /prefs/device.proto
INFO  | ??:??:?? 2 Loaded /prefs/device.proto successfully
INFO  | ??:??:?? 2 Loaded saved devicestate version 24
INFO  | ??:??:?? 2 Load /prefs/config.proto
INFO  | ??:??:?? 2 Loaded /prefs/config.proto successfully
INFO  | ??:??:?? 2 Loaded saved config version 24
INFO  | ??:??:?? 2 Load /prefs/module.proto
INFO  | ??:??:?? 2 Loaded /prefs/module.proto successfully
INFO  | ??:??:?? 2 Loaded saved moduleConfig version 24
INFO  | ??:??:?? 2 Load /prefs/channels.proto
INFO  | ??:??:?? 2 Loaded /prefs/channels.proto successfully
INFO  | ??:??:?? 2 Loaded saved channelFile version 24
ERROR | ??:??:?? 2 Could not open / read /prefs/uiconfig.proto
DEBUG | ??:??:?? 2 cleanupMeshDB purged 0 entries
DEBUG | ??:??:?? 2 Use nodenum 0xXXXXXXXX 
DEBUG | ??:??:?? 2 Expand short PSK #1
INFO  | ??:??:?? 2 Wanted region 0, using UNSET
DEBUG | ??:??:?? 2 Coerce telemetry to min of 30 minutes on defaults
INFO  | ??:??:?? 2 Sort took 0 milliseconds
DEBUG | ??:??:?? 2 Save to disk 0
WARN  | ??:??:?? 2 Packet History - Invalid size -1, using default 200
DEBUG | ??:??:?? 2 Use compiled/slipstreamed tzplaceholder                                         
DEBUG | ??:??:?? 2 Set Timezone to GMT0
DEBUG | ??:??:?? 2 NeighborInfoModule is disabled
DEBUG | ??:??:?? 2 Rescan for I2C keyboard
DEBUG | ??:??:?? 2 Scan for I2C devices on port 1
DEBUG | ??:??:?? 2 Scan address 0x1f
DEBUG | ??:??:?? 2 Scan address 0x34
DEBUG | ??:??:?? 2 Scan address 0x55
DEBUG | ??:??:?? 2 Scan address 0x5a
DEBUG | ??:??:?? 2 Scan address 0x5f
DEBUG | ??:??:?? 2 Trackball GPIO initialized (255, 255, 255, 255, 255)
DEBUG | ??:??:?? 2 SX126xInterface(cs=42, irq=47, rst=38, busy=46)
DEBUG | ??:??:?? 2 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO  | ??:??:?? 2 Start meshradio init
INFO  | ??:??:?? 2 Radio freq=906.875, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 2 Set radio: region=UNSET, name=LongFast, config=0, ch=19, power=30
INFO  | ??:??:?? 2 myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 MHz)
INFO  | ??:??:?? 2 numChannels: 104 x 250.000kHz
INFO  | ??:??:?? 2 channel_num: 20
INFO  | ??:??:?? 2 frequency: 906.875000
INFO  | ??:??:?? 2 Slot time: 28 msec
INFO  | ??:??:?? 2 Final Tx power: 22 dBm
INFO  | ??:??:?? 2 SX126x init result 0
INFO  | ??:??:?? 2 Frequency set to 906.875000
INFO  | ??:??:?? 2 Bandwidth set to 250.000000
INFO  | ??:??:?? 2 Power output set to 22
DEBUG | ??:??:?? 2 Current limit set to 140.000000
DEBUG | ??:??:?? 2 Current limit set result 0
DEBUG | ??:??:?? 2 Set DIO2 as RF switch, result: 0
DEBUG | ??:??:?? 2 SX126X_RXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 2 SX126X_TXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 2 Use MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO  | ??:??:?? 2 Set RX gain to boosted mode; result: 0
INFO  | ??:??:?? 2 SX1262 init success
INFO  | ??:??:?? 2 Not using Ethernet
DEBUG | ??:??:?? 2 LoRA bitrate = 118.394310 bytes / sec
DEBUG | ??:??:?? 2 Node status update: 1 online, 1 total
DEBUG | ??:??:?? 2 [Power] Battery: usbPower=1, isCharging=1, batMv=4271, batPct=100
INFO  | ??:??:?? 2 [RangeTest] Range Test Module - Disabled
DEBUG | ??:??:?? 22 [Power] Battery: usbPower=1, isCharging=1, batMv=4287, batPct=100
INFO  | ??:??:?? 32 [NodeInfo] Send our nodeinfo to mesh (wantReplies=0)
INFO  | ??:??:?? 32 [NodeInfo] Send owner !XXXXXXXX/Meshtastic XXXX/XXXX
DEBUG | ??:??:?? 32 [NodeInfo] Initial packet id XXXXXXXXXX
DEBUG | ??:??:?? 32 [NodeInfo] Partially randomized packet id XXXXXXXXXX
DEBUG | ??:??:?? 32 [NodeInfo] Update DB node 0xXXXXXXXX, rx_time=0
INFO  | ??:??:?? 32 [NodeInfo] Sort took 0 milliseconds
DEBUG | ??:??:?? 32 [NodeInfo] handleReceived(LOCAL) (id=0xXXXXXXXX fr=0xXXXXXXXX to=0xffffffff, WantAck=0, HopLim=3 Ch=0x0 Portnum=4 priority=10)
DEBUG | ??:??:?? 32 [NodeInfo] No modules interested in portnum=4, src=LOCAL
INFO  | ??:??:?? 32 [NodeInfo] Packet History - insert: Using new slot @uptime 32.328s TRACE NEW
DEBUG | ??:??:?? 32 [NodeInfo] Expand short PSK #1
DEBUG | ??:??:?? 32 [NodeInfo] Use AES128 key!
WARN  | ??:??:?? 32 [NodeInfo] send - lora tx disabled: Region unset
DEBUG | ??:??:?? 42 [Power] Battery: usbPower=1, isCharging=1, batMv=4302, batPct=100

firmware-nrf52840-2.6.11.60ec05e % meshtastic --noproto 
WARNING file:mesh_interface.py _sendToRadio line:1183 Not sending packet because protocol use is disabled by noProto
Connected to radio
INFO  | ??:??:?? 1 

//\ E S H T /\ S T / C

DEBUG | ??:??:?? 1 Filesystem files:
DEBUG | ??:??:?? 1  prefs (directory)
DEBUG | ??:??:?? 1    config.proto (99 Bytes)
DEBUG | ??:??:?? 1    module.proto (109 Bytes)
DEBUG | ??:??:?? 1    channels.proto (57 Bytes)
DEBUG | ??:??:?? 1    device.proto (96 Bytes)
DEBUG | ??:??:?? 1    nodes.proto (228 Bytes)
DEBUG | ??:??:?? 1  adafruit (directory)
DEBUG | ??:??:?? 1  bond_prph (directory)
DEBUG | ??:??:?? 1  bond_cntr (directory)
DEBUG | ??:??:?? 1 Power::lipoInit lipo sensor is not ready yet
DEBUG | ??:??:?? 1 Use analog input 5 for battery level
INFO  | ??:??:?? 1 Scan for i2c devices
DEBUG | ??:??:?? 1 Scan for I2C devices on port 1
INFO  | ??:??:?? 1 No I2C devices found
DEBUG | ??:??:?? 1 acc_info = 0
INFO  | ??:??:?? 1 S:B:9,2.6.11.60ec05e
INFO  | ??:??:?? 1 Build timestamp: 1749660793
DEBUG | ??:??:?? 1 Reset reason: 0x0
DEBUG | ??:??:?? 1 Set random seed XXXXXXXXXX
INFO  | ??:??:?? 1 Init NodeDB
INFO  | ??:??:?? 1 Load /prefs/nodes.proto
INFO  | ??:??:?? 1 Loaded /prefs/nodes.proto successfully
INFO  | ??:??:?? 1 Loaded saved nodedatabase version 24, with nodes count: 1
INFO  | ??:??:?? 1 Load /prefs/device.proto
INFO  | ??:??:?? 1 Loaded /prefs/device.proto successfully
INFO  | ??:??:?? 1 Loaded saved devicestate version 24
INFO  | ??:??:?? 1 Load /prefs/config.proto
INFO  | ??:??:?? 1 Loaded /prefs/config.proto successfully
INFO  | ??:??:?? 1 Loaded saved config version 24
INFO  | ??:??:?? 1 Load /prefs/module.proto
INFO  | ??:??:?? 1 Loaded /prefs/module.proto successfully
INFO  | ??:??:?? 1 Loaded saved moduleConfig version 24
INFO  | ??:??:?? 1 Load /prefs/channels.proto
INFO  | ??:??:?? 1 Loaded /prefs/channels.proto successfully
INFO  | ??:??:?? 1 Loaded saved channelFile version 24
ERROR | ??:??:?? 1 Could not open / read /prefs/uiconfig.proto
DEBUG | ??:??:?? 1 cleanupMeshDB purged 0 entries
DEBUG | ??:??:?? 1 Use nodenum 0xXXXXXXXX 
DEBUG | ??:??:?? 1 Expand short PSK #1
INFO  | ??:??:?? 1 Wanted region 0, using UNSET
DEBUG | ??:??:?? 1 Coerce telemetry to min of 30 minutes on defaults
DEBUG | ??:??:?? 1 Save to disk 0
DEBUG | ??:??:?? 1 Use GPIO09 for button
DEBUG | ??:??:?? 1 Use compiled/slipstreamed tzplaceholder                                         
DEBUG | ??:??:?? 1 Set Timezone to GMT0
DEBUG | ??:??:?? 1 NeighborInfoModule is disabled
DEBUG | ??:??:?? 1 Rescan for I2C keyboard
DEBUG | ??:??:?? 1 Scan for I2C devices on port 1
DEBUG | ??:??:?? 1 Scan address 0x1f
DEBUG | ??:??:?? 1 Scan address 0x34
DEBUG | ??:??:?? 1 Scan address 0x55
DEBUG | ??:??:?? 1 Scan address 0x5a
DEBUG | ??:??:?? 1 Scan address 0x5f
DEBUG | ??:??:?? 1 SX126xInterface(cs=42, irq=47, rst=38, busy=46)
DEBUG | ??:??:?? 1 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO  | ??:??:?? 1 Start meshradio init
INFO  | ??:??:?? 1 Radio freq=906.875, config.lora.frequency_offset=0.000
INFO  | ??:??:?? 1 Set radio: region=UNSET, name=LongFast, config=0, ch=19, power=30
INFO  | ??:??:?? 1 myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 MHz)
INFO  | ??:??:?? 1 numChannels: 104 x 250.000kHz
INFO  | ??:??:?? 1 channel_num: 20
INFO  | ??:??:?? 1 frequency: 906.875000
INFO  | ??:??:?? 1 Slot time: 28 msec
INFO  | ??:??:?? 1 Final Tx power: 30 dBm
INFO  | ??:??:?? 1 SX126x init result 0
INFO  | ??:??:?? 1 Frequency set to 906.875000
INFO  | ??:??:?? 1 Bandwidth set to 250.000000
INFO  | ??:??:?? 1 Power output set to 22
DEBUG | ??:??:?? 1 Current limit set to 140.000000
DEBUG | ??:??:?? 1 Current limit set result 0
DEBUG | ??:??:?? 1 Set DIO2 as RF switch, result: 0
DEBUG | ??:??:?? 1 SX126X_RXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 1 SX126X_TXEN not defined, defaulting to RADIOLIB_NC
DEBUG | ??:??:?? 1 Use MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO  | ??:??:?? 1 Set RX gain to boosted mode; result: 0
INFO  | ??:??:?? 1 SX1262 init success
INFO  | ??:??:?? 1 Not using Ethernet
DEBUG | ??:??:?? 1 LoRA bitrate = 118.394310 bytes / sec
INFO  | ??:??:?? 1 PowerFSM init, USB power=1
DEBUG | ??:??:?? 1 State: BOOT
DEBUG | ??:??:?? 1 [Power] Battery: usbPower=1, isCharging=1, batMv=4323, batPct=100
INFO  | ??:??:?? 1 [RangeTest] Range Test Module - Disabled
DEBUG | ??:??:?? 4 [PowerFSM] Init NRF52 Bluetooth
INFO  | ??:??:?? 4 [PowerFSM] Init the Bluefruit nRF52 module
INFO  | ??:??:?? 5 [PowerFSM] Bluetooth pin set to '123456'
INFO  | ??:??:?? 5 [PowerFSM] Init the Device Information Service
INFO  | ??:??:?? 5 [PowerFSM] Init the Battery Service
INFO  | ??:??:?? 5 [PowerFSM] Init the Mesh bluetooth service
INFO  | ??:??:?? 5 [PowerFSM] Set up the advertising payload(s)
INFO  | ??:??:?? 5 [PowerFSM] Advertise

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingtriagedReviewed by the team, has enough information and ready to work on now.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions