cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Newbie

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

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

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

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.