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

Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X

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

vvaidya
1-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
jkaczynski
4-Participant
(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.

Top Tags