I already in the my last posting to the thread, I solved the "Receive.receive not connected", I was puzzled as to why I was still getting the error when I added the default event in the /system/NoCRCPacket.nc, the problem was coming from the /platform/NoCRCPacket.nc directory. I took care of that.
Now I'm back to the main problem of trying to use NoCRCPacket's "txBytes" command in my code. From: Michiel Konstapel [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2008 4:59 AM To: Mark Tsang Cc: [email protected] Subject: RE: [Tinyos-help] Utilizing a command from another module, > /opt/MoteWorks/tos/platform/micaz/NoCRCPacket.nc:306: Receive.receive not connected NoCRCPacket provides the Receive interface, and that won't work unless the receive() event is wired to something. So, even if you're only interested in the txBytes() command, you'll still have to wire and handle the other events NoCRCPacket provides, unless it defines default handlers for them (which it doesn't). HTH, Michiel -----Original Message----- From: [EMAIL PROTECTED] on behalf of Mark Tsang Sent: Tue 3/18/2008 6:47 AM To: 'Michael Schippling' Cc: [email protected] Subject: RE: [Tinyos-help] Utilizing a command from another module, Exactly, I know that I'm able to call txBytes from my own code but I can't seem to get it to work because of the error about a connection from within NoCRCPacket explained below: I've searched the documents for areas regarding "calling a command from another module" but no luck. Aside from this being my 14th hour working on this project, could you please at least direct me to the proper documentation that would explicitly explain the syntax to make this command call. Thanks! I'm starting to run out of ideas. In component `NoCRCPacket': /opt/MoteWorks/tos/platform/micaz/NoCRCPacket.nc: In function `receiveTask': /opt/MoteWorks/tos/platform/micaz/NoCRCPacket.nc:306: Receive.receive not connected
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
