-
-
Notifications
You must be signed in to change notification settings - Fork 18
Down frequency gets corrupted between MQTT → Semtech UDP packets #50
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
Comments
That is strange indeed... Two questions:
That would be really helpful for debugging this issue further. |
An additional question, do have the same issue with |
Thanks for your response! Here is the output of
That suggests that the incorrect frequency is coming from
The above traces have all been with
Yes, I had the same symptoms prior to enabling json=true for troubleshooting. Two other clues that may be relevant:
|
Thanks, that is very helpful. Note that there is also something odd with the |
I've switched to the I'll leave this issue open. Just wanted to let you know that it's no longer impacting me. |
Just to let you know, I am able to reproduce your MIC issue on my Dragino gateway as well. This issue seems to be limited to the Dragino package. I have tested the same version on one of my Kerlink gateways, and there it worked as expected. I suspect something went wrong during the cross-compiling for the Dragino architecture of the latest version(s). |
Compiling the same code, but with the latest Rust toolchain (nightly, as Rust has moved MIPS support to tier 3) no longer results in the MIC error and it seems the data is no longer corrupted. I have created a test-build for you: https://www.dropbox.com/scl/fo/jtqxrcz9ly24t6gg903gw/h?rlkey=jjqnh15los7av781zas7vnqt0&dl=0 Recommended way to upgrade:
Else you might run into errors related to the limited amount of storage that is available. |
Thanks. I got this installed, but this test build doesn't seem to have support for the Is it much trouble to enable that in your test build? That's what I've got set up in my test environment. If it's more than 15min of trouble for you, let me know and I'll just stand up a different MQTT server instead. |
You are right, the |
This adds (I have tested this with both plaintext as websockets over TLS) I will do a some more testing and if all looks fine, I will create a new release. |
This was released as v4.2.0. |
Some background to my issue and troubleshooting is located in this forum post:
https://forum.chirpstack.io/t/dragino-lps8n-with-mqtt-forwarder-uses-wrong-downlink-frequency
I believe I've isolated this to the
chirpstack-mqtt-forwarder
. The frequency specified by the LNS is modified when passed on to the gateway.Here is a
JOIN_ACCEPT
MQTT packet from the LNS:And the corresponding semtech_udp TxPk:
Notice that the frequency is correct in the MQTT packet, and incorrect in the Semtech UDP packet.
It's always
268.abcdef
where the decimals change a bit each time.Version: chirpstack-mqtt-forwarder 4.1.3
Here is my config:
The text was updated successfully, but these errors were encountered: