I forgot to post the solution to my own question.
The problem was that the AM type was different from the Serial one. This last
in fact was a pure number chosen at random (22).
The solution has been to istantiate the two as the following:
//before was new SerialAMSenderC(22), whereas AM_DATA was 28 in the header
file..
components new SerialAMSenderC(AM_DATA);
components new AMSender(AM_DATA);
The two type must be the same of the one declared in the header file...:D
In this way everything goes fine!!
I hope this will help someone else.
Flavio
Inviato da Yahoo! Mail.
La casella di posta intelligente.
http://it.docs.yahoo.com/mail/overview/index.html_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help