thijse / Arduino-CmdMessenger

CmdMessenger Communication library for Arduino & .NET
Other
208 stars 87 forks source link

some unescape() are missing #39

Open sigmaeo opened 6 years ago

sigmaeo commented 6 years ago

There is no unescape in: readStringArg() copyStringArg() compareStringArg()

So you got (with ID=1) from readStringArg() for the transmitted string:

1,Hello\,World\;Or what?;

"Hello\,World\;Or what?" Of course you can unescape this no in user sketch, but I think, this is not as it should be?

sigmaeo commented 6 years ago

I fixed this in my fork and it is included in poll #37.

Now you got: "Hello, World; Or what?"