 | Hi All,
I am writing a wireless application for a course project. I am using the wireless domain actors provided by Ptolemy. I noticed that by default the sensor nodes i.e. the locator actors have messages with {location, time} fields. I guess if we want the message format to be different or if we want to add more fields to message, for example total number of messages a node has recieved, we would have to write a sub-class of this locator actor. Is that correct? Can we decouple the message format from the locator code? It would be very helpful if the message format can be declared from GUI and nodes would send and recieve messages with this format. Does this make sense? Thanks, Manish
|
|