[Tinyos-help] LEDs broken for telosb (Tmote Sky) in CVS
David
wizzardx at gmail.com
Mon May 19 02:42:48 PDT 2008
> Doesn't look like this is a problem with the LED. The "Blink" test app
> works fine with the latest CVS. It looks like it is a problem with
> Tmote Sky receiving radio packets (sending works fine).
>
Thanks, it looks like this is fixed now, probably by this commit:
<GIT>
commit 95e361249bc766526397b3f7c82af551c0f7b7de
Author: rincon <rincon>
Date: Fri May 16 16:03:45 2008 +0000
Enabled broadcast address recognition in software.
diff --git a/tos/chips/cc2420/receive/CC2420ReceiveP.nc
b/tos/chips/cc2420/receive/CC2420ReceiveP.nc
index 4a5d1ad..812bd79 100644
--- a/tos/chips/cc2420/receive/CC2420ReceiveP.nc
+++ b/tos/chips/cc2420/receive/CC2420ReceiveP.nc
@@ -446,8 +446,9 @@ implementation {
if(!(call CC2420Config.isAddressRecognitionEnabled())) {
return TRUE;
- }
+ }
- return (header->dest == call CC2420Config.getShortAddr());
+ return (header->dest == call CC2420Config.getShortAddr()
+ || header->dest == AM_BROADCAST_ADDR);
}
}
</GIT>
David.
More information about the Tinyos-help
mailing list