-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving Meshtastic Packets #29
Comments
There is no information about LilyGO T-Deck Plus. You must review this product's schematic to properly configure these options.
Is this correct? uint8_t payloadLen = 0; |
Meshtastic (https://meshtastic.org/) is a LoRa mesh networking system. TCXO / LDO: pretty sure i have those correct, also played with all the combinations. RF switching: on the schematics, (https://github.com/Xinyuan-LilyGO/T-Deck/blob/master/schematic/schematic.pdf) i only see DIO1 connected.
Why would it receive the preamble but not the packet? |
The LoRa modem employs two types of packet formats: explicit and implicit. Do the packet formats of both match? |
Yes, |
Can transmission and reception work properly using two LilyGO T-Deck Plus? |
Unfortunatly I have only one. I send meshtastic messages from a LilyGO T-Echo, it has the same SX1262 LoRa chip in there. |
It seems that the LoRa packet formats do not match. Are the packet header lengths the same on both sides? |
some other guy also has the same parameters (https://www.reddit.com/r/meshtastic/comments/1ec1us8/meshtastic_packets_not_received_by_a_standard/) how would you change the packet header length? |
got it! it was the wrong sync word. in src/modules/SX126x/SX126x.h
in src/modules/SX126x/SX126x.cpp
so when using maybe you want to also change |
I'm using SX1262 in LilyGO T-Deck Plus.
For a test of reception, I try to receive packets from meshtastic.
so i set EU_868 LongFast params like that
after LoRaConfig()
there is no error in the serial log, however, i never receive any packets. if I trace the
irqRegs
inLoRaReceive
i see that i getSX126X_IRQ_PREAMBLE_DETECTED
but neverSX126X_IRQ_RX_DONE
.have you an idea what i do wrong? do i need to configure DIO1 and handle interrupts like that?
The text was updated successfully, but these errors were encountered: