/home/user/.arduino15/packages/esp32/tools/esp-x32/2302/bin/../lib/gcc/xtensa-esp32-elf/12.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/.arduino15/packages/esp32/tools/esp32-arduino-libs/idf-release_v5.1-632e0c2a/esp32/lib/libpp.a(hal_mac.o): in function `hal_init':
(.text.hal_init+0x40): multiple definition of `hal_init'; /home/user/.cache/arduino/sketches/E368F9F09813AEAD7DF6AA9E4EE4B471/libraries/arduino-lmic-4.1.0/hal/hal.cpp.o:/home/maxi/Arduino/libraries/arduino-lmic-4.1.0/src/hal/hal.cpp:416: first defined here
collect2: error: ld returned 1 exit status
exit status 1
Compilation error: exit status 1
If âitâ refers to the LMIC, it turns out it wasnât broken. The Semtech-protocol packet fowarder for the MultiTech was dropping JoinRequests with AppEUI == 0, and by sheer bad luck, the reporter and we at MCCI were all using MultiTech. So I mistakenly thought that the LMIC was broken. Changing the MultiTech gateway to use basic station solves the problem.
Embarassingly, the gateways run by TTN New York are all MultiTechs and the most are still on packet forwarder. But this wonât affect users in Europe!
Yes, I remember we met, hope all is well & best wishes for Yuletide & 2025!
Updating to the release of packet forwarder released two years ago will fix it as well. And that will be the better option for MultiTech gateways with old concentrator cards as you need new hardware for basics station. Or consider replacing the gateways as my two MultiTech gateways from 2015 both died over the last year. (Flash worn out)
I have tested the project TTGO T-Beam Tracker for The Things Network again.
The display seems to work, only the display for the battery does not work.
Apparently a new library has to be implemented.
But GPS reception is there, the time has been determined and a location is available after a few minutes.
The display shows the current position data quite quickly every 20 seconds.
These values can then be recognized:
Just for fun, I created a device that starts with FF FF FF FF FF as JoinEUI and DevEUI.
I left the AppKey the same.
I always get this as live data from the TTN console:
Can you try with the non secure packet forwarder on the MikroTik.
Donât delete the gateway! Just change the settings on TTN that require authentication and on the MikroTik change the settings so it uses the non secure version (with UDP port 1700).
I just went for a little walk and switched the gateway back to LNS beforehand.
The T-Beam was able to connect properly again and delivered the correct data to TTN.
So letâs make a note:
T-Beam V1.2 can only join the network unencrypted
After successful joining, the uplink of the gateway can be encrypted again