[Tinyos-help] b6lowpan
swaytha sasi
swaytz at gmail.com
Thu Mar 26 05:11:18 PDT 2009
Thanks for the reply.....and when i change it a multicast address the error
goes away.But i want to send the message only to the base station. So should
i alter the base station code to listen for the datagrams?
The following is part of my send side code.....
{
inet_pton6("2001:470:1f04:56d::64", &destn_addr.sin6_addr);
destn_addr.sin6_port = htons(3001);
///
event void Timer.fired() {
report.seq = counter;
counter++;
call UDP.sendto(&destn_addr,&report,sizeof(nx_struct msg_report));
call Leds.led0Toggle();
}
With Thanks,
Swaytha.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090326/6734a81f/attachment.htm
More information about the Tinyos-help
mailing list