Skip to content
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

[Question/bug?] Issue receiving packets #136

Closed
epwaudby opened this issue Aug 15, 2022 · 1 comment
Closed

[Question/bug?] Issue receiving packets #136

epwaudby opened this issue Aug 15, 2022 · 1 comment
Labels
Question a/Board Further information about a board is requested

Comments

@epwaudby
Copy link

epwaudby commented Aug 15, 2022

(For the record this might not be a bug, much more likely I've configured the gateway wrong but it's hard to tell)
Also, couldn't find a way to change the label to 'Question'

Class A Node

Environment:
Node

  • RFM95W
  • LOLIN(WEMOS) D1 mini (clone)

Gateway

  • Multitech Multiconnect Conduit (MTCDT-H5-210L Firmware 1.4.17)
  • Node Red (in Loopback mode)

image

Pin Configuration

  • .CS = D8,
  • .RST = D4,
  • .DIO0 = D0,
  • .DIO1 = D1,
  • .DIO2 = D2,
  • .DIO5 = D3, // Not connected

Credentials
const char *devEui = "00800000A0000648";
const char *appEui = "0000000000000000";
const char *appKey = "00000000000000000000000000000000";
image

Symptoms

  1. Join works correctly and I see the (correct) transmitted packets ("Hello World") on the Node Red debug trace
  2. The data sent to the gateway should just be echoed back
  3. I see that a packet is received (can be seen in the attached trace.txt file) from the gateway but, when it's decrypted, it bears no relationship to the "Hello World" expected

The send and receive appears to be good. I'm wondering if there isn't a problem with the construction of the keys for receipt.

Any ideas?

Trace File (with DEBUG Enabled)
trace.txt

@epwaudby epwaudby added the Bug Something isn't working label Aug 15, 2022
@epwaudby epwaudby changed the title Issue receiving packets [Question/bug?] Issue receiving packets Aug 15, 2022
@epwaudby
Copy link
Author

Solved - Code is working perfectly (well done guys!)

As I suspected, it's the gateway configuration. On the Multitech Conduit, it's imperative to set the Local Network Settings to 'Enabled' and to duplicate the keys or the reverse channel doesn't work

See below:
image

@jazhe jazhe added Question a/Board Further information about a board is requested and removed Bug Something isn't working labels Aug 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question a/Board Further information about a board is requested
Projects
None yet
Development

No branches or pull requests

2 participants