ThingWorx ATrack AX-7 Setup Manual Download Page 7

ATrack AX-7 Protocol Adapter SDK Setup Guide

  

Copyright © 2015 PTC Inc. and/or Its Subsidiary Companies. All Rights Reserved.

 

 

5.

 

 

Check if your device is connected by sending: 

AT$INFO=?  

You should receive something like the image shown at 

the right. The second-to-last parameter indicates the 
connection status. If it is “1”, it means that the device 
is connected to your server. 
If you have not yet modified the 

config.json

 file so 

that the Protocol Adapter SDK listens on the same 
port you configured the AX7 to send to, (next step), 
you should see only a 0 at this point. 
 
 

  

 
Note

: All configurations can be tested by putting a 

‘?’ after the ‘=’ sign. For example: 

AT$GPRS=?

 

 

 

Configuring the Protocol Adapter SDK 

1.  Locate and open the 

config.json

 file 

included in this Starter Kit and modify the 
socketPort setting in 
ConnectionServerSettings to “5000”, or 
your chosen port.  
 
The Protocol Adapter SDK will be listening 
on this port. Remember that the GPRS port 
for the AX7 device, configured earlier, 
should be the same. 
  

 

2.  Set the following values: 

 

Set 

thingworxServerAPIKey

 to 

the Application Key for your ThingWorx 
Platform. (Application keys can be 
generated directly on the Platform.)  

 

Set 

thingworxServer

 and 

thingworxServerPort

 to the IP 

address and port number, respectively, 
of the machine that is running the 
ThingWorx Platform. 
 
(If the ThingWorx server and Protocol 
Adapter SDK are located on the same 
server, enter “localhost” for the 

thingworxServer

 parameter.) 

 
Your configuration should resemble the 
example on the right. 
 
 

        

        

Summary of Contents for ATrack AX-7

Page 1: ...ATrack AX 7 Setup Guide Version 1 0...

Page 2: ...d for in the software licenses agreement except with written prior approval from PTC UNAUTHORIZED USE OF SOFTWARE OR ITS DOCUMENTATION CAN RESULT IN CIVIL DAMAGES AND CRIMINAL PROSECUTION PTC regards...

Page 3: ...ll Rights Reserved 1 Introduction 2 About the Protocol Adapter SDK 2 About the ATrack AX7 3 Prerequisites 3 Configuration and Setup 3 Configuring the ATrack AX7 3 Configuring the Protocol Adapter SDK...

Page 4: ...provided by ThingWorx for the purposes of connecting such a device whose firmware and or data format is unchangeable and incompatible with ThingWorx to the platform Often these devices open a TCP or...

Page 5: ...other parameters such as GPS coordinates the IMEI number of the device an odometer reading vehicle speed and more via SMS GPRS messages This guide will follow the features involved with setting up the...

Page 6: ...e For example if the packet type is TCP your command will look like this AT GPRS 1 neo iot net 52 11 96 167 5000 0 3 30 1 0 The IP address is the address of your server which will host the Protocol Ad...

Page 7: ...PRS Configuring the Protocol Adapter SDK 1 Locate and open the config json file included in this Starter Kit and modify the socketPort setting in ConnectionServerSettings to 5000 or your chosen port T...

Page 8: ...ow or outside You may use an integrated IDE such as Eclipse to run the Protocol Adapter SDK or you may compile the source into a jar file and run it through the command prompt This procedure assumes y...

Page 9: ...to the troubleshooting section of this document for help When the ATrack AX7 has successfully connected to your Protocol Adapter SDK you should see a log in the console similar to the following as it...

Page 10: ...X7 appears The default list shown in the following image here may be modified in the Protocol Adapter SDK source code in AtrackThing java Select Add All Above Properties to add all the remote properti...

Page 11: ...ng the protocol adapter SDK 3 Disable the firewall setting for TCP port 5000 or the port you are using for your connection as defined in config json This is the socket port the Protocol Adapter SDK wi...

Page 12: ...lity This guide has been tested for compatibility with the DEVICE and the following ThingWorx Platform and operating system ThingWorx Platform Version ThingWorx 6 0 1 OS Windows 7 Service Pack 1 Windo...

Reviews: