ThingWorx ATrack AX-7 Скачать руководство пользователя страница 4

ATrack AX-7 Protocol Adapter SDK Setup Guide

  

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

 

 

Introduction 

About the Protocol Adapter SDK  

The Internet of Things is a rapidly-growing and oftentimes fragmented network of devices. Typically 
these devices do not unify under a standardized “language” that would enable easy connections 
between them. There are many types of devices that could report their data in a specialized role, but 
most of these devices would need to report their data in a proprietary format. 

In order for the ThingWorx Platform to interpret data from one of these devices, the need for a 
communications translator, or 

Codec

, arises. A Codec operates by transforming incoming messages from 

a device, and then passing the “ThingWorx-Ready” data to the Platform. 

The Protocol Adapter SDK is a codec package 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 UDP networking socket and send data using a proprietary format. To 
allow these devices to connect to the ThingWorx Platform, the Protocol Adapter SDK runs intermediary 
between the device and the platform. It listens on a specified port for any incoming device messages, 
and it parses the incoming messages from the device’s native format into properties that are then 
transmitted to the ThingWorx Platform.  

It should be noted that the Protocol Adapter SDK 

should ideally be set up to run on an intermediary 

server

, separate from the one on which the ThingWorx Platform is located (for scalability purposes).  

However, the Protocol Adapter SDK may be run on the same server on which ThingWorx Platform is 
located.  

Normal Data-

Reporting 

Device

Websocket

ThingWorx 

Platform

Proprietary Data-

Reporting Device

Codec 

(translator)

Websocket

ThingWorx 

Platform

Содержание ATrack AX-7

Страница 1: ...ATrack AX 7 Setup Guide Version 1 0...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: