This is single channel gateway. Not really applicable for OTAA joining.
Set it to SF9, this is the default setting of paxcounter.
But you still need some luck, because Paxcounter uses LoRaWAN compliant LMiC stack and sends on all 8 channels. But after i while waiting you should have success with your single channel gatway.
Good news: tested the new paxcounter code with brownout detection disabled on my TTGOv2. Now it runs on battery. Before it made a reset at the point where the wifi scanner was activated.
Ultimately I would like to trigger a message when a rfid tag is near my reader.
I have this code that works for sending a lora message when a tag is near: https://github.com/paulmassen/heltec-wifi-lora/blob/master/workingrfidandlora
But it’s just a basic lora message and I can’t manage to make the same things with the lmic library in order to communicate with my gateway.
After a persisting radio.c:689 error on my TTGO LoRa32 V1 I found out, that LMIC opens SPI in a default kind of way with SPI.begin() in hal.cpp. After modifing line 83 to
SPI.begin(5,19,27,18);
i.e. SPI.begin (SCK, MISO, MOSI, SS);
the radio.c:689 error was gone.
The first step was finding the problem. Googling did not help easily, which is also why I posted this. I was sure there must be a fork to my problem, thank you for pointing me to it.