Hi All,
I am using Tossim with tiny-os 2.1.0 (Python Language and no visual API).
I am able to make new packets, choose a destination, and send a packet to a 
node. 
The code below is the part for where I make the packet and use deliver() 
function ( The topology is already made with all noises and etc.)



msg = RadioCountMsg()
  msg.set_counter(7);
  msg.data = "test";
  pkt = t.newPacket();
  pkt.setData(msg.data)
  pkt.setType(msg.get_amType())
  pkt.setSource(0)
  pkt.setDestination(1)
  
pkt.deliver(1, t.time() + 3)

My question is how can I check that this delivery is successfully done? 
How can I receive this packet in the destination and for example re use it 
again?

I am really getting frustrated as I searched and couldn't find any decent 
answer to my question.

With Kind Regards,
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to