veins - send WSM message to specific vehicle address

73 views
Skip to first unread message

Rayane Sibaï

unread,
Nov 19, 2014, 3:31:01 AM11/19/14
to omn...@googlegroups.com
Hi every one,
Does any one know how to send a WSM message from vehicle to specific vehicle address in tracidemo11p.cc  used in veins example ? However, in tracidemo11p, WSM is sent to all vehicles in the network.
Thanks,

fekair mohammed

unread,
Nov 19, 2014, 4:53:31 AM11/19/14
to omn...@googlegroups.com
this is nature the wireless network where all message send broadcast

Rayane Sibaï

unread,
Nov 19, 2014, 5:19:58 AM11/19/14
to omn...@googlegroups.com
thx for your answer,
You mean that is no way to specify a recipient address?
nonetheless, in BaseWaveAppllLayer.cc , there is a function: wsm->setRecipientAddress(); I tried to use this function but nothing has changed!

fekair mohammed

unread,
Nov 19, 2014, 8:37:49 AM11/19/14
to omn...@googlegroups.com
use wsm->setRecipientAddress() for  node reception chek if this message is for him or no, where if not ignore this message

--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/UlD1Ra2zZ9s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Fekair Mohammed El Amine,
PhD Candidate
Department of Information and Computer Technologies
Faculty of New Technologies of Information and Communication.
OUARGLA University
Reply all
Reply to author
Forward
0 new messages