Error trying to connect Raspberry Pi 2 Model B to ThingWorx using C SDK
Jan 01, 2016
09:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 01, 2016
09:02 AM
Error trying to connect Raspberry Pi 2 Model B to ThingWorx using C SDK
Hi guys,
Happy new year
I am trying to do a project using Raspberry Pi 2 Model B and ThingWorx. I am using the trial version of ThingWorx and has downloaded the C SDK from the site.It contained files TWC_Agent.I have edited the host name and app key in the Agent properties file.
- When i executed the file using CLI, it showed the error : "Invalid 'connection' header: keep-alive".
- When i changed the host to my mashup URL, it showed BSD socket connection error.
- I debugged and found that: "connected to device.cloud.thingworx.com"; "HTTP response begun"; "TLS connection established" etc.
- Is there additional settings to be changed in the TWC_Agent to connect to ThingWorx?
- Can i reuse the same source codes in TWC_Agent to connect my Raspberry Pi 2 Model B to ThingWorx and display the properties in the mashup?
Thank you.
Labels:
- Labels:
-
Connectivity
3 REPLIES 3
Jan 04, 2016
10:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Jan 04, 2016
10:12 AM
It was some issue with the network in my office.i tried my home network and it worked well.
thankyou
Feb 02, 2016
10:36 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Feb 02, 2016
10:36 PM
hi anup, could you please help me,how to get the trial version of thingworx and C SDK for raspberry pi?? When ever i tried to connect raspberry pi to thingworx platform, i am getting an error message," could not create an agent".kindly help me to solve this issue.
Mar 12, 2016
08:42 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Mar 12, 2016
08:42 AM
Hi Saroj
I got it from the developer zone.
You get an SDK while going through the tutorial
