Vantron VT-M2M-BTA-DE ThingWorx Installation and Setup Guide
Copyright © 2015 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.
8
5.
Configure the IP address and port number of
the ThingWorx Platform to which you’re
connecting (the one providing the Vantron
Mashup) by editing the
settings.json
file in
this directory. Modify it using the “vi
settings.json” command in Linux.
In the example to the right, you see the
Platform is set to connect to:
ready.thingworx.com:443
.
Note
: check if the serial_port is set to the
path of your serial connection.
Be sure to supply the correct Application Key
as well. If you haven’t already created one, it
may be generated in the ThingWorx Platform
from the Application Key section in the Home
Composer screen.
6.
To start the data-reporting demo program, run the
run.sh
file by typing the following command:
bash
run
.sh
If the program executes properly and the configuration is correct, you should see an output in the
terminal window similar to this:
:
It is important that you see the “Websocket_connected!” output (indicated in the previous screen shot)
to confirm a successful connection to ThingWorx Platform. Assuming you have a successful connection,
continue with the next step in this procedure.
Note
: Ensure that the hardware clock is set to the right system time.