Skip to content

IOx Gateway 2021

Description

IOx Gateway 2021 is a Cisco IOx application running the Meshtech Gateway Host. Combined with the Raytac MDBT50Q-RX 0040 extender dongle this enables access to the Meshtech network and uplink connectivity to the customer backend. The IOx application communicates via the Cisco Access Point to ensure secure and reliable network connectivity.

Configuration and monitoring of the gateway is available through Meshtech Device Management Portal.

  • Firmware Model Number: 0x2021
  • Downlinks: Up to 18

Properties

Property Reported Default Value From Version
0x8000 - Model Number Yes -
0x8001 - Firmware Version Yes -
0x8002 - Hardware Version Yes -
0x8003 - MAC Address No -
0x8005 - Production Info Extended No -
0x8007 - Variant Yes -
0x8008 - Public Key No -
0x8009 - Host Public Key No -
0x8010 - Activated No -
0x8020 - Power Source Yes -
0x8101 - Uptime No -
0x8110 - Device Mode Yes 0x02
0x8120 - Firmware Update State Yes
0x8121 - Start Firmware Update -
0x8122 - Firmware Update Control -
0x8124 - Start Firmware Broadcast -
0x8125 - Firmware Broadcast State Yes
0x8126 - Firmware Broadcast Control -
0x8201 - Debug No 0x00000000
0x8212 - Downlink Configuration 2 Yes 0x03000112
0x8211 - RSSI Throttling Limit Yes 0x00
0x8220 - Property Throttling Yes 0x00
0x8221 - RSSI Reporting Yes 0x01 (true)
0x8222 - Measurement Reporting Yes 0x01 (true)
0x8223 - Event Reporting Yes 0x01 (true)
0x8228 - Network Mode Yes 0x00
0x8230 - General Advertisement Reporting No 0x000000
0x8250 - Log to Disk Yes 0x00
0x8251 - Log Debug Yes 0x00
0x8252 - Log RX Yes 0x00
0x8253 - Log TX Yes 0x00
0x8254 - Log RX Encrypted Yes 0x00
0x8255 - Log TX Encrypted Yes 0x00
0x8300 - Soft Reset - -
0x8301 - Factory Reset - -
0x8302 - Request Property Reporting - -
0x8304 - Start Downstream Throughput Test - -
0x8305 - Throughput Test Packet Counter No 0x00000000
0x8320 - Destroy Network Below - -
0x8321 - Destroy Network Below Child - -
0x8322 - Network Tree No -
0x8330 - Flush Property Cache -
0x8400 - Performance Counter Reporting Interval Yes 0x0000
0x8401 - Performance Counter Reporting Priority Yes 0x02
0x8410 - Upstream Packets Sent No 0x00000000
0x8411 - Upstream Packets Lost No 0x00000000
0x8412 - Downstream Packets Sent No 0x00000000
0x8413 - Downstream Packets Lost No 0x00000000
0x8850 - EnOcean Config (BETA) Yes 0x0002
0x9000 - Scan Window Yes 0x18 (24 %)
0x9002 - Network Lock Yes 0x00
0x9020 - Offer RSSI Threshold Yes 0xA6 (-90)
0xFF00 - Scan Mode - - Host internal property

Note

Scan Window range is 5 - 95 %. It is highly recommended to not increase scan-window above 24 % (default). Increases beyond 24 % can negatively affect throughput.

Note

After performing factory-reset (by writing 0x8301 - Factory Reset command property) it is necessary to "Clear token" in Device Management before gateway can provision itself if you use same USB BLE adapter. You will also need to activate and send required configuration (typically backend.json) to use it again.

Note

Performing factory reset of a paired Raytac MDBT50Q-RX 0040 (by pressing button while applying power, then additional button press for 5+sec) will also cause host to factory reset.

Note

IOx Gateway 2021 must be upgraded via Cisco DNA Center or the ioxclient command line tool provided as part of Cisco IOx SDK.

Measurements

Measurement From Version
0x8410 - Upstream Packets Sent
0x8411 - Upstream Packets Lost
0x8412 - Downstream Packets Sent
0x8413 - Downstream Packets Lost

Supported Targets

Most access points from the Cisco Catalyst 9100 Family are supported, for example Cisco Catalyst 9120.

Hosting Requirements:

  • CPU Architecture: ARM 64 bit
  • CPU: 4800 Units
  • Memory: 100 MB
  • Disk: 10 MB

Installation

This section describes how to install using the ioxclient command line tool from Cisco. The ioxclient tool is primarily to be used by developers and is used to manage IOx applications on Cisco devices.

Note

To install using Cisco DNA Center, please refer to the Cisco Deployment Guide.

The installation process consists of two main parts:

To start the installation you need:

Before installing the app, ioxclient must be installed on the PC/server. ioxclient can be downloaded from Cisco at https://developer.cisco.com/docs/iox/#!iox-resource-downloads.

When you have installed ioxclient you need to create a profile where you specify the connection details for your device. To create a new profile run the following command:

ioxclient profiles create

You will be asked to enter various configuration settings. After you have answered the questions, the profile will be created and activated.

Installation of the app is done in 4 steps:

  1. Download IOx Application Firmware
  2. Install
  3. Activate
  4. Start

Download IOx Application Firmware

  • Log into Meshtech Device Management at iot.meshtech.no
  • Go to the Firmware section and expand IOx Gateway 2021
  • Download the .tar installation file by clicking the Download button for the latest version.

Install

To install the application to the Cisco device, run the following command:

ioxclient app install IOx_Gateway_2021 <application filename>

This will install the IOx Gateway 2021 application to your device with the name IOx_Gateway_2021. This name is used later to refer to this application instance.

Activate

To activate the application, you need to prepare an activation.json file with the following content:

{
  "resources": {
    "profile": "custom",
    "cpu": 4800,
    "memory": 100,
    "disk": 10,
    "network": [
      {
        "interface-name": "eth0"
      }
    ],
    "devices": [
      {
        "type": "serial",
        "label": "HOST_DEV_BLEGW",
        "device-id": "/dev/ttyACM0",
        "usage": "BLE GW"
      }
    ]
  }
}

You can download the file here: activation.json

Note

Notice that the serial device must have the label HOST_DEV_BLEGW.

Then, run the following command:

ioxclient app activate --payload activation.json IOx_Gateway_2021

Start

Now, you can start the application with the following command:

ioxclient app start IOx_Gateway_2021

With the app installed and running, the gateway can be claimed and activated.

Claim and Activate

With the IOx application running, insert the Raytac MDBT50Q-RX 0040 dongle into the USB port of the Cisco device. Within a few seconds, the IOx app will now detect the dongle is present and register the gateway at iot.meshtech.no. To claim the gateway, log in at iot.meshtech.no and click the Claim button. Enter the serial number (SN) of the Cisco device to claim the gateway.

Upon successful claim, the gateway should be available from iot.meshtech.no and assigned to the customer that claimed it. The ID of the gateway is the MAC Address (lowercase) of the Raytac MDBT50Q-RX 0040 BLE adapter (BLE GW).

To use the gateway, it must first be activated. Go to the Activation tab and click Activate. Now, the gateway is scanning and will start to build the sensor network.

Typically, you would also want to set a backend configuration in order to interact with the sensor network.

Upgrading

To upgrade the application, use the following commands:

  1. Stop - ioxclient app stop IOx_Gateway_2021
  2. Deactivate - ioxclient app deactivate IOx_Gateway_2021
  3. Upgrade - ioxclient app upgrade IOx_Gateway_2021 IOxGateway_2021_7_1_0.tar
  4. Activate - ioxclient app activate --payload activation.json IOx_Gateway_2021
  5. Start - ioxclient app start IOx_Gateway_2021

During upgrade, when asked to preserve configuration, select 'y' (yes).

Release Notes

Release Notes

Licenses

The app uses the following licenses.