Ive moved my node for about 100m+ with walls in between and still got crc fail
I cant find anything about this, my gateway RSSI is at -133.2 dBm. iam going to try downgrading my gateway firmware, iam using the latest firmware right now, idk what to do anymore
You need to understand the RF component of the machine you are trying to build.
Having the node right next to the gateway causes issues - to high RF levels for the frontend.
To low RF levels you can’t decode the signal.
If you have a 100m and wall between the node and gateway and the RX is -133dBm already, I will look at the RF side of my devices, it seems low, check your antennas, coax cables, connectors (are they matching?).
It is not distance, it is RF signal strength determining if it is going to work.
Matching, you get male and female connectors, you need to pay special attention to the center conductors type, here are where a lot of people trip up. They will connect two of the same types to each other, just double check your RF side.
Yes ive already double checked everything, i dont know what to do anymore to be honest, i’ve tried changing antenna, separate the gateway and the node, resetting the gateway to factory default, changing frequency and still the gateway wont receive my packets
Thank god, I solved it today. The problem is the library
I need to change the lmic_project_config.h file in Arduino\libraries\MCCI_LoRaWAN_LMIC_library\project_config to my region.
The last problem is why the DevAddr change when recieved by my gateway and then changed again when the packets uplinked to TTN
The example code doesnt work.
It appear in the gateway console yes, but it doesnt appear in the end node console because changing DevAddr
*edit
The example code works but everytime i sent a packet, it always sent a join request even though it was already been accepted
If it is sending Join Requests then I’d expect the DevAddr to change because that’s how it works. But your code above is for ABP.
I’d not expect the DevAddr to change between the gateway and the console.
If it is ABP as in the code somewhere up from here, then it isn’t sending join requests because ABP doesn’t send them - and you’d see that in your serial log.
Perhaps review the Learn section on End Device Activation