Hi Michael ,
First really appreciate your help. Would it be possible
for me to take a look of the coding for your program. Cause i am quite new
to TinyOs .
Thanks in advance,
lance
On Wed, Jan 5, 2011 at 1:05 AM, Michael Schippling <[email protected]>wrote:
> I managed to send messages from the host to a specific node ID
> over a single hop in the Moteworks system. I never tested multiple
> hops but hoped and assumed that they would work. Broadcast messages
> don't seem to work though.
>
> On the mote side config your receive message like this:
>
> // messages we receive
> App.CalibMsg -> MULTIHOPROUTER.Receive[CPAM_CALIBMSG];
>
> And implement it like this:
>
> /**
> * Signalled when the Calibration Message is received.
> * @return The free TOS_MsgPtr.
> */
> event TOS_MsgPtr CalibMsg.receive( TOS_MsgPtr m,
>
> void* payload, uint16_t payloadLen )
> {
> // ...do stuff...
> return m;
> }
>
> On the PC side send a message just like you would normally,
> using the specific mote ID. If you don't know how that works
> look at some of the demo apps that make attempts, or see my
> example code bolus under: http://www.etantdonnes.com/Motes/
>
> MS
>
> (¯`•._.•Lance•._.•´¯) wrote:
>
>> Hi all,
>> I would like to know is there a way to send an activation message
>> from base to the mesh network in order to activate a particular node ?
>>
>> I am using the tinyos 1.1 version provided by Crossbow. Is there any
>> interface that i can make use of .
>>
>> Thanks
>> Lance
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Tinyos-help mailing list
>> [email protected]
>> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help