I use the following example of an ABP-activated LoRaWaN node:
https://github.com/matthijskooijman/arduino-lmic/blob/master/examples/ttn-otaa/ttn-otaa.ino
But for some reason I cannot figure out when the node transmits some data or not. As far I see from this snippet:
LMIC_setTxData2(1, mydata, sizeof(mydata)-1, 0);
Serial.println(F("Packet queued"));
The packets are inserted into a queue and then transmitted when available. So how I will make the ABP-example to give me an indication when the dragino-shield/hopeRFM9x starts transmitting the physical package that is in the queue?
I am asking because the single-channel-gateway for some reason pings the TTN that exists via Semtech UDP stat
message and barely receives any message to transmit. So I want to debug it, therefore I need a more verbose log on when physical
transmission started and ended of a queued packet. I occasionally I get some messages when I power off and power on my LoRaWAN node.
Also I may not get any message at all on my LoRaWaN single channel gateway even if I run the setup over 30mins with the Arduino being the only one node on my application and the node be next to my packet forwarder.
Over my gateway I used the instructions in: http://www.instructables.com/id/Use-Lora-Shield-and-RPi-to-Build-a-LoRaWAN-Gateway/
For my packet forwarder I used the following implementation: https://github.com/tftelkamp/single_chan_pkt_fwd
Also I have configured my TTN application to use the legacy Semtech packet forwarder.