Another question , because I have some problems connecting and sending the first payloads to TTN. I am using the ttn-otaa.cpp example with a Dragino Lora Hat. I defined my PINS like in the example:
#define RF_CS_PIN RPI_V2_GPIO_P1_22 #define RF_IRQ_PIN RPI_V2_GPIO_P1_07 #define RF_RST_PIN RPI_V2_GPIO_P1_11
The lmic_pins var is unchanged.
... but it's stuck at EV_JOINING
pi@raspberrypi:~/arduino-lmic/examples/raspi/ttn-otaa $ sudo ./ttn-otaa ttn-otaa Starting RFM95 device configuration CS=GPIO25 RST=GPIO17 LED=Unused DIO0=Unused DIO1=Unused DIO2=Unused DevEUI : **** AppEUI : **** AppKey : **** 14:36:37: Packet queued 14:36:37: EV_JOINING
Do I need to wire the PINs in any special way? I found some other examples where the DIO0, DIO1 and DIO2 pins needed a dedicated wiring to the GPIO pins. I think my AppEUI, DevEUI and AppKey is correct (lsb, msb, etc.), but could that be the reason?
Thanks in advance!