Skip to main content
1-Visitor
January 19, 2017
Question

How avoid triming of special character from the device data while sending it to ThingWorx platfom

  • January 19, 2017
  • 1 reply
  • 1484 views

Hi All,

I am trying to push data (String obtain from a device )from EMS which contains special character “\n”. When I receive it at ThingWorx side in a property I receive payload without “\n”. Is there any way to receive data at platform side without any replacement on payload.

We are using C SDK for EMS related development.

Aanjan Ravi

Thanks and Regards,

Vishal Vaidya

1 reply

1-Visitor
January 19, 2017

Hello,

Have you tried to precede a special characters, such as "\n" with another escape char? So instead of pushing "\n" to push "\\n"?

Regards,

Jakub.