Bugzilla – Bug 2088
when SetMcpsDataIndicationCallback is called UDP data stops
Last modified: 2016-04-04 13:17:21 UTC
My application contains LrWpanNetDevice.On top of that i have SixLowPan.In application i have UDP data. When i make SetMcpsDataIndicationCallback on LrWpanNetDevice, i see the UDP data is not flowing.
(In reply to ali from comment #0) > My application contains LrWpanNetDevice.On top of that i have SixLowPan.In > application i have UDP data. > When i make SetMcpsDataIndicationCallback on LrWpanNetDevice, i see the UDP > data is not flowing. Do you have a test case or example that you can share that illustrates this?
SetMcpsDataIndicationCallback is the callback fired by LrWpanMac when a packet is received. It is set by the LrWpanNetDevice so that it can chain up the packet when it is received. If you override its setup the NetDevice will not receive anything. I wouldn't call it a bug. Unless you classify as a bug the fact that there's no warning when you do that.
(In reply to Tommaso Pecorella from comment #2) > SetMcpsDataIndicationCallback is the callback fired by LrWpanMac when a > packet is received. It is set by the LrWpanNetDevice so that it can chain up > the packet when it is received. > If you override its setup the NetDevice will not receive anything. > > I wouldn't call it a bug. Unless you classify as a bug the fact that there's > no warning when you do that. I agree to mark this as WONTFIX as not being a bug (i.e. the callback should not be overridden by user programs).