Hi,
I would like to use a mote as Base Station to my PC, which does not know the struct of the message which is going to be sent. This mote gets message to send from MOTEIF class in a Java application using MIG tools to create Java message struct and NesC struct. My question is, is it possible to send messages without define the struct in my Base Station mote. My idea is to have a Node Sensor which receives the message through a handler ID, so it is able to know which type of struct message it got, so it is able to do a Casting with the dataĆ payload to the struct which it knows (because it include the .h file where is defined the message struct). The goal is to have a Base Station which just send messages without knowing the exact struct of the message, and then in the destiny the mote can Casting the message with the appropiate struct. Is it possible? Thank you in advance
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
