Skip to main content
GErze
Associate II
January 30, 2019
Question

I-CUBE-LRWAN : Why is my node not sending data according to APP_TX_DUTYCYCLE?

  • January 30, 2019
  • 5 replies
  • 3346 views

Hey,

APP_TX_DUTYCYCLE doesn't really do its job. I set it to 1s and my messages are being sent so that it always skips one.

Example:

1st message sent, 3rd message sent, 5th mesage sent..

Upon increasing the DC parameter it works fine. What is causing this?

I have turned duty cycle off so that isn't the problem. Message's TOA should be around 120ms according to LoRa calculator, so I should be able to lower APP_TX_DUTYCYCLE even more.

Also when sending 70 bytes of payload or above it sends data only once and then never again.

This topic has been closed for replies.

5 replies

sergug
Visitor II
January 31, 2019

From "LoRaWAN 1.1 Specification":

"Following each uplink transmission the end-device MUST open two short receive windows. The receive window start times are defined using the end of the transmission as a reference."

"The first receive window ... RX1 opens RECEIVE_DELAY1  seconds (+/- 20 microseconds) after the end of the uplink modulation. "

"The second receive window RX2 ... opens RECEIVE_DELAY2 seconds (+/- 20 microseconds) after the end of the uplink modulation. "

By default -  RECEIVE_DELAY1 = "1 sec" and  RECEIVE_DELAY2 = "2 sec"

Thus if the end-device comforms LoRaWAN standard => it is impossible to send data more frequently than once every 3 seconds

GErze
GErzeAuthor
Associate II
January 31, 2019

True, I know this and I changed values of RX windows too. RX1 is opened 100ms after TX and RX2 200 ms after TX but this does not do anything.

I also changed max duration of RX window to 100ms,

sergug
Visitor II
January 31, 2019

You changed these settings only in the I-CUBE-LRWAN code?

If you use Over-the-Air Activation, then maybe the gateway changing them when sending a "Join-accept message"?

GErze
GErzeAuthor
Associate II
January 31, 2019

Yes, only in the I-CUBE-LRWAN code. I am not using OTAA because it doesn't work. I keep getting endless join requst - join accept loop.

jg_spitfire
Senior
May 9, 2019

Hi, did you solved the problem?, i have the same problem now, thanks

Asing.3
Associate III
July 10, 2020

bro i truble lot but every process running successfully but data is not sending how to analyze where is the problem i did not get idea

Asing.3
Associate III
July 10, 2020

i am using i cube lora mac code using sx1276

SSrim.1
Visitor II
July 23, 2020

Dear all,

I am using B-L072z-lrwan1.

At the first time I can send data to gateway by using ABP and It's success for sending data (en.i-cube_lrwan Library).

Now,I want to using OTAA for sending data to gateway but It's not success.

The interrupt alarm It's "TXDone" but RxTimeout" So I think "Joinaccept" not complete.

Then I try to change "JOIN_ACCEPT_DELAY1" and "APP_TX_DUTYCYCLE" to more appropriate but It isn't success to sending data also.

Now ,I don't knows about root cause of this problem. If anyone found same problem and can fixed it please let me knows.

thank you for your attention.

suchada sri.

jg_spitfire
Senior
July 26, 2020

Hi, what gateway are you using and what time in APP_TX_DUTYCYCLE?