Lmic esp32 no join request

Good morning!
Heres the requestet “Log”.

09:03:34.731 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) 
09:03:34.731 -> configsip: 0, SPIWP:0xee 
09:03:34.731 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 
09:03:34.731 -> mode:DIO, clock div:1 
09:03:34.731 -> load:0x3fff0018,len:4 
09:03:34.731 -> load:0x3fff001c,len:1216 
09:03:34.764 -> ho 0 tail 12 room 4 
09:03:34.764 -> load:0x40078000,len:10944 
09:03:34.764 -> load:0x40080400,len:6388 
09:03:34.764 -> entry 0x400806b4 
09:03:39.869 -> start 
09:03:39.869 -> Messung 
09:03:39.869 -> Regen messung 
09:03:42.885 -> Messung 
09:03:42.885 -> Regen messung 
09:03:45.901 -> Payload: 13 88 00 00 00 00 00 00 
09:03:45.901 -> Packet queued 
09:03:45.901 -> 690484: EV_JOINING 
09:03:45.901 -> 690500: EV_TXSTART 
09:03:52.295 -> 1090444: EV_JOIN_TXCOMPLETE: no JoinAccept 
09:03:53.288 -> 1151880: EV_TXSTART 
09:03:59.317 -> 1530424: EV_JOIN_TXCOMPLETE: no JoinAccept 
09:04:13.541 -> 2419339: EV_TXSTART

I hope there is no data that is confidential… but that’s the serial printout of the Heltec board.

Thank you very much in advance!

Looks like the node is transmitting.

What region setting is on the node? Check and make sure this is correct. Where I am we use EU frequency band that is why it is uncommented.

image

Not all is in “msb”.

The OTAA_DEVEUI and OTAA_APPEUI is “lsb” and OTAA_APPKEY is ‘msb’

1 Like

True, excepting that it’s just a random block of numbers used to encrypt the join-accept so as long as it’s the same way round at both ends, it’s not a problem.

1 Like

Yes! I know.
The App & the Dev EUI are in lsb and the AppKey is in msb.

Sorry if this is a dump question but where are these settings?
Well I also would use EU because I’m in Germany.

About line 171 in the platformio.ini file

image

1 Like

Oh, I see…
I just copied this part from the Internet and modified it,
I’m not having the platformio.ini…

I’m just having the Arduino code I originally posted…

Sorry, my mistake I thought you were using the latest version of Lmic-Node

Where did you download from?

1 Like

Im using this Library

image

1 Like

I guess comment out line 3 and un comment line 2 to get EU operation?! :slight_smile:

Well, I’ve learned something very important today. something i did not think of until now.
Even if it’s pretty obvious I did not know. I can or in this case have to change configs in the Library.
In this case, the frequency was set to us.
Now the “Weatherstation” had connected successfully and was sending the data. So im one step further.

I’m very thankful for your help and the patience @Johan_Scheepers and @descartes

Not a dumb question but unnecessary, because RT(F)M.
Not reading the documentation wastes other people’s time.

You would if you would have followed the instructions in LMIC-node’s README.md.

If you would have followed the advice given and used LMIC-node, your node would have been instantly working. From there you could have added your own custom code for reading out the sensor(s).

Follow good advice given to you?

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.