Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uplink delay after receiving a downlink message #62

Closed
pdemil opened this issue Apr 2, 2016 · 4 comments
Closed

uplink delay after receiving a downlink message #62

pdemil opened this issue Apr 2, 2016 · 4 comments

Comments

@pdemil
Copy link

pdemil commented Apr 2, 2016

Testing release 4.1.0:
after receiving a downlink message (ADR ACK, ACK, device status request, ...) there seems to be a delay of 5 minutes before the next uplink is transmitted, when uplink messages are scheduled to be transmitted every 3 minutes.

Using the same application with release 4.0.0, we don't have this issue.

Someone else noticed the same?

@mluis1
Copy link
Contributor

mluis1 commented Apr 4, 2016

Thanks for the report.
Could you please provide more information on the downlink message(s) that you send to the end-device?

If possible it would be nice to have the frame contents. Example:
Downlink frame:
60 F5 EC EE 00 20 00 00 28 14 E2 CC

@pdemil
Copy link
Author

pdemil commented Apr 8, 2016

Configuration: ABP, ADR on, APP_TX_DUTYCYCLE 180000000, no ACK, dutycycle on, 3 default channels.
The downlink messages are coming from the LoRaWAN server.

1-> 21:55:57.176 unconfirmedDataUpmessage, SF12,
0<- 21:55:58.176 ConfirmedDataDown Mac (hex) : 035107000006
MAC.Command.LinkADRReq
MAC.Command.LinkADRReq.DataRate_TXPower : 0x51
MAC.Command.LinkADRReq.DataRate_TXPower.DataRate : 5
MAC.Command.LinkADRReq.DataRate_TXPower.TXPower : 1
MAC.Command.LinkADRReq.ChMask : 0x0007
MAC.Command.LinkADRReq.Redundancy : 0x00
MAC.Command.LinkADRReq.Redundancy.ChMaskCntl : 0
MAC.Command.LinkADRReq.Redundancy.NbRep : 0
MAC.Command.DevStatusReq
8 minutes and 24 seconds later:
2-> 22:04:22.621 UnconfirmedDataUp Data+mac, SF7, Mac (hex) : 030706fe24
MAC.Command.LinkADRAns
MAC.LinkADRAns.Status : 0x07
MAC.LinkADRAns.Status.ChannelMaskAck : 1
MAC.LinkADRAns.Status.DataRateAck : 1
MAC.LinkADRAns.Status.PowerAck : 1
MAC.Command.DevStatusAns
MAC.DevStatusAns.Battery : 254
MAC.DevStatusAns.Margin : 36

3-> 22:07:23.228 UnConfirmedDataUp Data, SF7
4-> 22:10:25.116 UnConfirmedDataUp Data, SF7
5-> 22:13:25.444 UnConfirmedDataUp Data, SF7

...continues, every 3 minutes...

19->22:55:25.595 UnConfirmedDataUp Data, SF7
20->22:58:25.160 UnConfirmedDataUp Data, SF7
1<- 22:58:25.160 ConfirmedDataDown Mac (hex) : 06
MAC.Command.DevStatusReq
8 minutes and 25 seconds later
21-> 23:06:50.811 UnconfirmedDataUp Data+Mac
MType : UnconfirmedDataUp
Flags : ADR : 1, ADRAckReq : 0, ACK : 1
Mac (hex) : 06fe1d
MAC.Command.DevStatusAns
MAC.DevStatusAns.Battery : 254
MAC.DevStatusAns.Margin : 29

@djaeckle
Copy link

Hi pdemil,

I wasn't able to reproduce the issue yet.

  1. Are you testing with the sample applications?
  2. Does this issue appear every time or sometimes?

@pdemil
Copy link
Author

pdemil commented May 12, 2016

issue appears every time, but I will try again in v4.2. Closed.

@pdemil pdemil closed this as completed May 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants