ThingWorx ATrack AX-7 Setup Manual Download Page 6

ATrack AX-7 Protocol Adapter SDK Setup Guide

  

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

 

 

 Note that you will need to configure the 

config.json

 

file in the AX7 source code to match the parameters 
you will configure the ATrack AX7 to connect to. 

 

AT$FORM=0,,1      
 
AT$TRAC=1,10,,,,,2    
 

 

The 

FORM

 command sets the position report 

message format to ASCII.  
The default message format is binary. 
 
The 

TRAC

 command commences basic time mode 

tracking. 
A position report is sent every 10 seconds. 
 
 

4.

 

 

Configure the AX7 device to send GPRS messages on 

the desired Host IP address and Host port.  Enter the 
next command below, but replace the parameters in 
<> with their correct values for your use case. 
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 Adapter SDK, and the port is the 
port number it will listen on for data from the ATrack 
AX7 device.  Take note of the values you use. 

 
AT$GPRS=<Enable>,<”APN”>,<”Username”

>,<”Password”>,<”Host 
Address”>,<Host Port>,<Socket 
Type>,<Retry>,<Timeout>,<Keep 
Alive>,<Report ACK>, <Secondary Host 
IP Address/Domain name">,<UDP Local 
Port> 

 

Note:  

This command takes 20-30 seconds to 

complete, and then the device will reboot.  Do not 
send any more commands during this period, until 
you see the “Bootloader…” message in the terminal. 

Send this command again after reboot: 
 

AT$TRAC=1,10,,,,,2  

 

Note:  

The above line will have to be entered every 

time the ATrack AX7 is rebooted. 

 

You should see a message such as “$OK” returned by 
the device after every command line sent.   

 

 

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: