signetlabdei / lorawan

An ns-3 module for simulation of LoRaWAN networks
GNU General Public License v2.0
185 stars 131 forks source link

Send a packet to the ED at any time. #66

Closed QiuYukang closed 4 years ago

QiuYukang commented 4 years ago

Hello, I want to ask a question, is there any way to make the LoRa NS send a packet to the ED at any time(maybe I can increase the receiving window of the ED just like LoRa class C)? Can you give me some hints to modify the code? Thank you very much.

DvdMgr commented 4 years ago

As of now, we only support Class A LoRaWAN End Devices - you would need a MAC layer class implementing Class C behavior to obtain what you are describing. Furthermore, some modifications would be needed at the Network Server, since as of now it will only send packets in correspondence of Receive Windows. I know there is some effort going towards this from other people: if you are interested, we can probably coordinate with them. Let me know!

On Wed, Jan 15, 2020, 4:37 PM QiuYukang notifications@github.com wrote:

Hello, I want to ask a question, is there any way to make the LoRa NS send packet to the ED at any time? Can you give me some hints to modify the code? Thank you very much.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/signetlabdei/lorawan/issues/66?email_source=notifications&email_token=AATSICPAYOP4HAYI5SYSIC3Q54UUNA5CNFSM4KHFP44KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGMLGDA, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATSICPBSSFMJ2YF6IDB7VTQ54UUNANCNFSM4KHFP44A .

QiuYukang commented 4 years ago

As of now, we only support Class A LoRaWAN End Devices - you would need a MAC layer class implementing Class C behavior to obtain what you are describing. Furthermore, some modifications would be needed at the Network Server, since as of now it will only send packets in correspondence of Receive Windows. I know there is some effort going towards this from other people: if you are interested, we can probably coordinate with them. Let me know! On Wed, Jan 15, 2020, 4:37 PM QiuYukang @.***> wrote: Hello, I want to ask a question, is there any way to make the LoRa NS send packet to the ED at any time? Can you give me some hints to modify the code? Thank you very much. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#66?email_source=notifications&email_token=AATSICPAYOP4HAYI5SYSIC3Q54UUNA5CNFSM4KHFP44KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IGMLGDA>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AATSICPBSSFMJ2YF6IDB7VTQ54UUNANCNFSM4KHFP44A .

thank you! I will have a try.

DvdMgr commented 4 years ago

You can try contacting @peggyopal, I know she is working on something similar.

Closing this for now!