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

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

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

vvaidya
1-Visitor

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
jkaczynski
12-Amethyst
(To:vvaidya)

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.

Announcements


Top Tags