Discussion:
Manual Handover doesn't work..!
k***@khu.ac.kr
2018-11-27 17:46:05 UTC
Permalink
Hi everyone.

I'm new in ns-3.

I'm doing just find least user cell (eNB) and hand over UEs to another eNB.

I read about user documentation in LTE.

I want to x2-handover like lena-x2-handover.cc did.

But, it doesn't work..!

I couldn't do command " NS_LOG=EpcX2:LteEnbRrc ./waf --run lena-x2-handover
--command="%s --ns3::LteEnbRrc::AdmitHandoverRequest=false" " because the
error occured. (I don't know why...)

so, i made text file (input-defaults.txt as default
ns3::LteEnbRrc::AdmitHandoverRequest "false") and did
" ./waf --command-template="%s
--ns3::ConfigStore::Filename=input-defaults.txt
--ns3::ConfigStore::Mode=Load --ns3::ConfigStore::FileFormat=RawText"
--run LTETest2 "
it also didn't work.

Is anybody can tell me what is wrong with my code...?

In the image, top side is before handover and bottom side is after handover.

Thanks :)
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Manuel Requena
2018-11-28 09:46:16 UTC
Permalink
Hi,

what kind of error you get?

The documentation [1] says:
"Lastly, the target eNodeB must be configured as “open” to X2 HANDOVER
REQUEST. *Every eNodeB is open by default, so no extra instruction is
needed in most cases*. However, users may set the eNodeB to “closed” by
setting the boolean attribute LteEnbRrc::AdmitHandoverRequest to false. "

With the flag "--ns3::LteEnbRrc::AdmitHandoverRequest=false", the eNBs
rejects the handover request. So, if you want a handover, please, don't use
this flag.

Second, you schedule the function that will schedule the handovers at
second 1.4 and then you schedule the handover 1.5 seconds after. So, the
handover will be launch at second 2.9 and your simulation runs only for 2
seconds.

On the other hand, I agree that the doxygen documentation of the Handover
Request is not totally clear.

Best regards,
Manuel

[1] https://www.nsnam.org/docs/models/html/lte-user.html#x2-based-handover
[2]
https://www.nsnam.org/doxygen/classns3_1_1_lte_helper.html#a5b612c3b8d529e68b848cdca95838087
Post by k***@khu.ac.kr
Hi everyone.
I'm new in ns-3.
I'm doing just find least user cell (eNB) and hand over UEs to another eNB.
I read about user documentation in LTE.
I want to x2-handover like lena-x2-handover.cc did.
But, it doesn't work..!
I couldn't do command " NS_LOG=EpcX2:LteEnbRrc ./waf --run
lena-x2-handover --command="%s
--ns3::LteEnbRrc::AdmitHandoverRequest=false" " because the error occured.
(I don't know why...)
so, i made text file (input-defaults.txt as default
ns3::LteEnbRrc::AdmitHandoverRequest "false") and did
" ./waf --command-template="%s
--ns3::ConfigStore::Filename=input-defaults.txt
--ns3::ConfigStore::Mode=Load --ns3::ConfigStore::FileFormat=RawText"
--run LTETest2 "
it also didn't work.
Is anybody can tell me what is wrong with my code...?
In the image, top side is before handover and bottom side is after handover.
Thanks :)
--
Posting to this group should follow these guidelines
https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups
"ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
k***@khu.ac.kr
2018-11-28 17:06:44 UTC
Permalink
Thank you very much, Manuel !!

Your comment was very helpful.

The problem was schedule function as you mentioned at second part of your
comment.

Again, thank you.


Thanks and best regards,
Youngmin.
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Loading...