/thingworx-arduino-wifi101

Arduino library using REST api to send and receive data to Thingworx platform 8. It can communicate multiple variables.

Primary LanguageC++MIT LicenseMIT

thingworx-arduino-wifi101

alt text Arduino library using REST API to send and receive data to Thingworx platform 8. It allows to send and receive multiple variables with the provided methods.

Requirements

REST API for Thingworx 8

The REST API implemented in this library follows this format:

GET request

  GET /Thingworx/Things/MyThing/Properties/MyProperty HTTP/1.1
  Host: thingworx.myserver.com
  Accept: application/json
  Connection: close
  appKey: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

POST request

  POST /Thingworx/Things/MyThing/Services/MyService HTTP/1.1
  Host: thingworx.myserver.com
  Content-Type: application/x-www-form-urlencoded
  Content-Length: 27
  Connection: close
  appKey: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

  MY_PARAM1=123&MY_PARAM2=abc