Question on Simulation build: why OT_REFERENCE_DEVICE=ON and impact on Ping Response #9316
Replies: 4 comments 2 replies
-
The chnage was added in There seems to some related earlier discussion on this:
I don't recall details, @edmont do you happen to remember any points related to this. |
Beta Was this translation helpful? Give feedback.
-
Hi:
@aalami90 is your device failing to pass the test even with |
Beta Was this translation helpful? Give feedback.
-
@edmont @abtink Thanks for clarifying. This will be further discussed in the TSTBED-275 JIRA. |
Beta Was this translation helpful? Give feedback.
-
Final note, just to record what I think is the outcome on having a "reference device" exhibit different behavior than a "normal" non-reference device:
|
Beta Was this translation helpful? Give feedback.
-
Hello,
I am wondering why we are activating flag OT_REFERENCE_DEVICE=ON in the OT_simulation build? isn't it supposed to be OFF for a DUT?
the reason i am asking is: I am investigating an issue I have with MATN_02_MLRFirstUse.py and I see that the behavior of this test changes when we have OT_REFERENCE_DEVICE=ON when using Posix platforms, with regards to Ping Replies:
#if OPENTHREAD_CONFIG_REFERENCE_DEVICE_ENABLE otIcmp6SetEchoMode(gInstance, OT_ICMP6_ECHO_HANDLER_ALL); #else otIcmp6SetEchoMode(gInstance, OT_ICMP6_ECHO_HANDLER_DISABLED); #endif
Basically my issue is that when running the equivalent of [MATN_02_MLRFirstUse.py ] on thread Harness, and using an ot-br-posix as a DUT with Router role, the test fails when OT_REFERENCE_DEVICE=OFF. and the symptom is :
I have is exactly the same as that described in this issue .
in the table summarized by @simonlingoogle, I am in R2, Certification Column. Basically I can only get the test to pass when i manually add a route for the ping response in my TUN interface (ip -6 route add 910b::/64 dev wpan0)
Any help or clarification on issue described above?
Beta Was this translation helpful? Give feedback.
All reactions