Fleet Freedom
Main Site
Overview
WebSocket
JavaScript
Behaviours
Provisioning
Pictures
Reports
Events
Return to site

Getting Started

Guide
Tuesday, September 1, 2015
By Alex Lein

Introduction and Assumptions

Reading this document assumes you are familiar with:

  1. JSON serialization.
  2. Retrieving the ID of Company to which the provider will be assigned.
  3. Using the WebSocket, and retrieving your ghostId.
  4. The kinds of Providers supported by the system.
  5. Retrieving the ID of Provider Configuration to which the provider will be assigned.

The provisioning process is a two step process.

  1. The first step is for an authenticated user to request a verification code.
  2. The second step is used to send the verification back to the system and complete the registration.

Request Verification Code

The first step does not add the provider in our system, but simply prepares the system to receive event data instead of rejecting it. The verification code is only valid for 10 minutes, and if the process has failed or takes longer than that a new code will need to be requested.

Remember

  1. An Internet connection is required.
  2. Verification codes expire after 10 minutes.
  3. Verification codes are not re-used.
  4. If the process fails, try again or switch modems.
  5. If you need to re-provision an app/modem, request a new code.
  6. If the process fails repeatedly, contact your support representative.
  7. The assetId parameter is optional.

URL pattern

https://modem.fleetfreedom.com/prepare/providerConfigId?ghostId=ghostId&assetId=assetId
Breaking change as of May 23rd, 2018
Unnecessary parameters for the URL have been removed, and a new optional parameter to automatically bind an asset to the new provider has been added to the query string.
 

Response body

{
  "errorCode": ErrorCode,
  "message": "Plain-English response describing the error if any",
  "registration": ProviderRegistration
}

Register Modem

The unique identifier is not necessarily the IMEI, ESN, or other serial number, but probably an internally used unique string which identifies the modem programmatically. For this reason, we provide the Provisioning Client to help quickly setup new modems.

HTTP POST location

https://modem.fleetfreedom.com/setup/uniqueIdentifier/verificationCode

HTTP POST body

{
  "HARDWARE_VERSION": string,
  "IMEI": string,
  "PHONE_NUMBER": string,
  "APP_VERSION": string
}

Once you have the verification code, confirm the unique identifier of the modem and use it to pass back any relevant (static, or infrequently changing) details about the device. All fields are optional, but a few helpful details are:

  1. Phone Number
  2. IMEI, ESN, other serial numbers
  3. Firmware version
  4. A full list of ProviderInfo is available.

Provisioning Client

Unnecessary for mobile devices!
If you are provisioning Android or iOS devices, you do not need the Provisioning Client. When the app is first installed from the Play Store or the iTunes App Store, the app will ask you to enter the verification code to complete the registration.
 

The Provisioning Client quickly connects over serial (RS232), USB, or Ethernet to confirm the identifier of the modem.

Download Client

When adding Providers from within Fleet Freedom front-end, you can have your browser open the Provisioning Client automatically.

  • Back to Provisioning Articles
  • Full Provisioning Reference
Trak iT® Wireless and Fleet Freedom® are Trademarks of Trak iT® Wireless Inc.
All content contained within this site is the property of Trak iT® Wireless unless otherwise stated.