Hello, Could you give your Python code ?
On Thu, 2010-01-14 at 20:39 +0100, Jose Francisco Mingorance Puga wrote: > Hello, I am trying to read the value of a variable of my nesC code > from python right after my TOSSIM simulation. > > > In the TinyOS documentation it is said that getData method should > return a python data type directly related to the nesC type. > > > However, I am trying to read a float_t or double_t variable, and I get > a string! > > > This string contains invalid characters codes, so I guess that it > actually contains the bits of the float_t or double_t variable messed > up in any way. > In all the simulations I do, I get one of these two values for the > "string" : > > > '\x00\x00\x00\x00\x00\x00\x00\x80\xff?\x00\x00' > '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' > > > What is going on and how to fix it ? > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- Sylvain Pelissier _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
