You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the Waveshare SX126X XXXM with firmware version meshtasticd_2.2.21.7f7c5cb_arm64.deb on the Pi, and the radio can be found, which is good, here is the log:
sudo meshtasticd -c config.yaml
Portduino is starting, HWID=1, VFS root at /root/.portduino/default
Setting up Meshtastic on Portduino...
Using config.yaml as config file
B@INFO | ??:??:?? 0
DEBUG | ??:??:?? 0 Filesystem files:
DEBUG | ??:??:?? 0 /prefs/channels.proto (94 Bytes)
DEBUG | ??:??:?? 0 /prefs/.. (0 Bytes)
DEBUG | ??:??:?? 0 /prefs/db.proto (168 Bytes)
DEBUG | ??:??:?? 0 /prefs/. (0 Bytes)
DEBUG | ??:??:?? 0 /.. (0 Bytes)
DEBUG | ??:??:?? 0 /. (0 Bytes)
INFO | ??:??:?? 0 Using ؛ as I2C device.
INFO | ??:??:?? 0 Scanning for i2c devices...
INFO | ??:??:?? 0 Scanning for i2c devices...
DEBUG | ??:??:?? 0 Scanning for i2c devices on port 1
INFO | ??:??:?? 0 No I2C devices found
INFO | ??:??:?? 0 Meshtastic hwvendor=37, swver=2.2.21.7f7c5cb
INFO | ??:??:?? 0 Initializing NodeDB
INFO | ??:??:?? 0 Loading /prefs/db.proto
INFO | ??:??:?? 0 Loaded saved devicestate version 22
/root/.portduino/default/prefs/config.proto does not exist
INFO | ??:??:?? 0 No /prefs/config.proto preferences found
INFO | ??:??:?? 0 Installing default LocalConfig
INFO | ??:??:?? 0 Setting default channel and radio preferences!
DEBUG | ??:??:?? 0 Expanding short PSK #1
INFO | ??:??:?? 0 Wanted region 0, using UNSET
/root/.portduino/default/prefs/module.proto does not exist
INFO | ??:??:?? 0 No /prefs/module.proto preferences found
INFO | ??:??:?? 0 Installing default ModuleConfig
INFO | ??:??:?? 0 Loading /prefs/channels.proto
INFO | ??:??:?? 0 Loaded saved channelFile version 22
/root/.portduino/default/oem/oem.proto does not exist
INFO | ??:??:?? 0 No /oem/oem.proto preferences found
DEBUG | ??:??:?? 0 cleanupMeshDB purged 0 entries
WARN | ??:??:?? 0 NOTE! Our desired nodenum 0x1 is invalid or in use, so trying for 0x6b8b456b
WARN | ??:??:?? 0 Using nodenum 0x6b8b456b
INFO | ??:??:?? 0 Wanted region 0, using UNSET
DEBUG | ??:??:?? 0 region=0, NODENUM=0x6b8b456b, dbsize=2
DEBUG | ??:??:?? 0 Read RTC time as 1709114608
DEBUG | ??:??:?? 0 Running without GPS.
DEBUG | ??:??:?? 0 NeighborInfoModule is disabled
/root/.portduino/default/prefs/cannedConf.proto does not exist
INFO | ??:??:?? 0 No /prefs/cannedConf.proto preferences found
INFO | ??:??:?? 0 CannedMessageModule is enabled
DEBUG | ??:??:?? 0 Attempting to activate sx1262 radio on SPI port /dev/spidev0.0
WARN | ??:??:?? 0 SX126xInterface(cs=21, irq=16, rst=18, busy=20)
DEBUG | ??:??:?? 0 SX126X_DIO3_TCXO_VOLTAGE defined, using DIO3 as TCXO reference voltage at 1.800000 V
INFO | ??:??:?? 0 Starting meshradio init...
DEBUG | ??:??:?? 0 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | ??:??:?? 0 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO | ??:??:?? 0 Radio freq=903.125, config.lora.frequency_offset=0.000
INFO | ??:??:?? 0 Set radio: region=UNSET, name=pawg, config=0, ch=4, power=30
INFO | ??:??:?? 0 Radio myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 mhz)
INFO | ??:??:?? 0 Radio myRegion->numChannels: 104 x 250.000kHz
INFO | ??:??:?? 0 Radio channel_num: 5
INFO | ??:??:?? 0 Radio frequency: 903.125000
INFO | ??:??:?? 0 Slot time: 42 msec
INFO | ??:??:?? 0 Set radio: final power level=22
INFO | ??:??:?? 0 SX126x init result -707
INFO | ??:??:?? 0 Frequency set to 903.125000
INFO | ??:??:?? 0 Bandwidth set to 250.000000
INFO | ??:??:?? 0 Power output set to 22
DEBUG | ??:??:?? 0 Current limit set to 140.000000
DEBUG | ??:??:?? 0 Current limit set result 0
DEBUG | ??:??:?? 0 Setting DIO2 as RF switch
DEBUG | ??:??:?? 0 Using MCU pin -1 as RXEN and pin -1 as TXEN to control RF switching
INFO | ??:??:?? 0 Set RX gain to boosted mode; result: 0
INFO | ??:??:?? 0 SX1262 Radio init succeeded, using SX1262 radio
INFO | ??:??:?? 0 API server listening on TCP port 4403
DEBUG | ??:??:?? 0 (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=237, time 2000 ms
DEBUG | ??:??:?? 0 LoRA bitrate = 118.500000 bytes / sec
INFO | ??:??:?? 0 PowerFSM init, USB power=1
DEBUG | ??:??:?? 0 Enter state: BOOT
INFO | ??:??:?? 4 [ApiServer] Incoming wifi connection
INFO | ??:??:?? 4 [ApiServer] Incoming wifi connection
INFO | ??:??:?? 4 [ServerAPI] Client wants config, nonce=38
INFO | ??:??:?? 4 [ServerAPI] Starting API client config
INFO | ??:??:?? 4 [ServerAPI] getFromRadio=STATE_SEND_MY_INFO
DEBUG | ??:??:?? 4 [ServerAPI] encoding toPhone packet to phone variant=3, 12 bytes
INFO | ??:??:?? 4 [ServerAPI] getFromRadio=STATE_SEND_METADATA
DEBUG | ??:??:?? 4 [ServerAPI] encoding toPhone packet to phone variant=13, 27 bytes
INFO | ??:??:?? 4 [ServerAPI] getFromRadio=STATE_SEND_NODEINFO
INFO | ??:??:?? 4 [ServerAPI] nodeinfo: num=0xddcac757, lastseen=0, id=!ddcac757, name=Meshtastic c757
DEBUG | ??:??:?? 4 [ServerAPI] encoding toPhone packet to phone variant=4, 54 bytes
INFO | ??:??:?? 4 [ServerAPI] getFromRadio=STATE_SEND_NODEINFO
INFO | ??:??:?? 4 [ServerAPI] nodeinfo: num=0x6b8b456b, lastseen=0, id=!ddcac757, name=Meshtastic c757
DEBUG | ??:??:?? 4 [ServerAPI] encoding toPhone packet to phone variant=4, 56 bytes
INFO | ??:??:?? 4 [ServerAPI] getFromRadio=STATE_SEND_NODEINFO
INFO | ??:??:?? 4 [ServerAPI] Done sending nodeinfos
INFO | ??:??:?? 4 [ServerAPI] getFromRadio=STATE_SEND_CHANNELS
However, when I attempt to change the frequencies of the waveshare on the Pi from my phone, it immediately loses connection with the Pi because the meshtasticd crashed. Additionally, even if I use a new rak4631 to join this Waveshare's default channel, communication between these two devices is not possible. All messages sent fail. Here is the error log when I change the frequency configuration:
DEBUG | 10:04:25 57 [ServerAPI] PACKET FROM PHONE (id=0x1a4e69c7 fr=0x00 to=0x6b, WantAck=1, HopLim=3 Ch=0x0 Portnum=6 priority=70)
DEBUG | 10:04:25 57 [ServerAPI] Enqueued local (id=0x1a4e69c7 fr=0x00 to=0x6b, WantAck=1, HopLim=3 Ch=0x0 Portnum=6 rxtime=1709114665 priority=70)
INFO | 10:04:25 57 [ServerAPI] getFromRadio=STATE_SEND_PACKETS
DEBUG | 10:04:25 57 [ServerAPI] encoding toPhone packet to phone variant=11, 12 bytes
INFO | 10:04:25 57 Telling client we have new packets 9
DEBUG | 10:04:25 57 [Router] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=70, time 755 ms
DEBUG | 10:04:25 57 [Router] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=70, time 755 ms
DEBUG | 10:04:25 57 [Router] Add packet record (id=0x1a4e69c7 fr=0x00 to=0x6b, WantAck=1, HopLim=3 Ch=0x0 Portnum=6 rxtime=1709114665 priority=70)
DEBUG | 10:04:25 57 [Router] handleReceived(REMOTE) (id=0x1a4e69c7 fr=0x00 to=0x6b, WantAck=1, HopLim=3 Ch=0x0 Portnum=6 rxtime=1709114665 priority=70)
DEBUG | 10:04:25 57 [Router] Module 'Admin' wantsPacket=1
INFO | 10:04:25 57 [Router] Received Admin from=0x0, id=0x1a4e69c7, portnum=6, payloadlen=50
INFO | 10:04:25 57 [Router] Client is setting channel 0
INFO | 10:04:25 57 [Router] Saving changes to disk
INFO | 10:04:25 57 [Router] Wanted region 0, using UNSET
DEBUG | 10:04:25 57 [Router] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=0, time 231 ms
DEBUG | 10:04:25 57 [Router] (bw=250, sf=11, cr=4/5) packet symLen=8 ms, payloadSize=253, time 2115 ms
INFO | 10:04:25 57 [Router] Radio freq=907.875, config.lora.frequency_offset=0.000
INFO | 10:04:25 57 [Router] Set radio: region=UNSET, name=new, config=0, ch=23, power=30
INFO | 10:04:25 57 [Router] Radio myRegion->freqStart -> myRegion->freqEnd: 902.000000 -> 928.000000 (26.000000 mhz)
INFO | 10:04:25 57 [Router] Radio myRegion->numChannels: 104 x 250.000kHz
INFO | 10:04:25 57 [Router] Radio channel_num: 24
INFO | 10:04:25 57 [Router] Radio frequency: 907.875000
INFO | 10:04:25 57 [Router] Slot time: 42 msec
DEBUG | 10:04:25 57 [Router] SX126x standby failed with error -707
meshtasticd: src/mesh/SX126xInterface.cpp:222: void SX126xInterface::setStandby() [with T = SX1262]: Assertion `err == RADIOLIB_ERR_NONE' failed.
Aborted
DIO3_TCXO_VOLTAGE: true # the Waveshare Core1262 and others are known to need this setting
gpiochip: 0
spidev: spidev0.0
Logging:
LogLevel: debug # debug, info, warn, error
Relevant log output
No response
The text was updated successfully, but these errors were encountered:
Category
Hardware Compatibility
Hardware
Other
Firmware Version
2.2.21.7f7c5cb_arm64
Description
I am using the Waveshare SX126X XXXM with firmware version meshtasticd_2.2.21.7f7c5cb_arm64.deb on the Pi, and the radio can be found, which is good, here is the log:
However, when I attempt to change the frequencies of the waveshare on the Pi from my phone, it immediately loses connection with the Pi because the meshtasticd crashed. Additionally, even if I use a new rak4631 to join this Waveshare's default channel, communication between these two devices is not possible. All messages sent fail. Here is the error log when I change the frequency configuration:
here is my config file:
Lora:
Module: sx1262 # Waveshare SX126X XXXM
DIO2_AS_RF_SWITCH: true
CS: 21
IRQ: 16
Busy: 20
Reset: 18
DIO3_TCXO_VOLTAGE: true # the Waveshare Core1262 and others are known to need this setting
gpiochip: 0
spidev: spidev0.0
Logging:
LogLevel: debug # debug, info, warn, error
Relevant log output
No response
The text was updated successfully, but these errors were encountered: