Dear all,
I found that the string under nesc, once being processed by some
string functions, for example, strcat() and strcpy(), will become
totoally disordered and unrecognizable.
for example:
aFunction(*OriginalData)
{
char DataToSend[50];
strcpy(DataToSend,OriginalData);
strcat(DataToSend,"}"};
//here if I print DataToSend out, it is totally disordered, but
DataToSend if fine.
...
}
I am wondering if there is any restrictions on string processing? Or
this does not happen to any of you?
Thank you.
Enric
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help