Inventory Control Settings

This section will describe how the FxConnect Inventory control parameters can be translated to IoT Connector settings.

Inventory Control in FxConnect

The following screenshot shows the FxConnect Inventory Control parameters.

../../_images/http_post_inventory_control.png

The following table lists the parameters and how they can be configured in the IoT Connector.

FxConnect to IoT Connector mapping of Inventory Control parameters.

Parameter

FxConnect

IoT Connector

Start Trigger

Supports Immediate, Time Delay, GPI Trigger, Periodic Trigger

only supports Immediate and GPI Trigger modes of Start Trigger

Stop Trigger

Supports Time Delay, GPI Trigger, Tag Observation, N rounds

Supports Time Delay, GPI Trigger, Tag Observation, N rounds

Session

Supports S0, S1, S2, S3

Supports S0, S1, S2, S3

Periodic Reporting

Sets the duration with which a tag is reported.

Supported as ReportFilter in Operating Mode

Autostart

Autostarts the FxConnect operation on startup

Supported as AutoStart for IoT Connector.

Migrating Inventory Control Settings

The following table illustrate the IoT Connector operating mode that must be configured on the reader to effectively migrate the FxConnect configuration.

Operating Modes for FxConnect Inventory Control parameters.

FxConnect Parameter

Value

Operating Mode

Start Trigger

Immediate

{
“type”: “CUSTOM”
}

Start Trigger

GPI Trigger, Port 1, state High

{
“type”: “CUSTOM”,
“radioStartConditions”: {
“type”: “GPI”,
“gpis”: [{
“port”: 1,
“signal”: “HIGH”
}]
}
}

Stop Trigger

Time Delay

{
“type”: “CUSTOM”,
“radioStopConditions”: {
“duration”: <duration>
}
}

Stop Trigger

GPI Trigger

{
“type”: “CUSTOM”,
“radioStopConditions”: {
“gpis”: [
“port” : 1,
“signal” : “HIGH”
]
}
}

Stop Trigger

Tag Observation

{
“type”: “CUSTOM”,
“radioStopConditions”: {
“tagCount”: 100
}
}

Stop Trigger

N rounds

{
“type”: “CUSTOM”,
“radioStopConditions”: {
“antennaCycles”: 10
}
}

Session

Supports S0, S1, S2, S3

{
“type”: “CUSTOM”,
“query”: {
“session”: “S0”
}
}

Periodic Reporting

Sets the duration with which a tag is reported.

{
“type”: “CUSTOM”,
“reportFilter”: {
“duration”: 1,
“type”: “RADIO_WIDE”
}
}

Autostart

Autostarts the FxConnect operation on startup

Check the Auto Connect checkbox in the Zebra IoT Connector > Connection Page.

Configuring Operating Mode in IoT Connector

In IoT Connector, the equivalent for Inventory Control is called the Operating Mode. For more information on Operating Modes refer this section.

To configure the Operating Mode via Local REST interface, make sure that the Local Rest Management and Local Rest Control check boxes are checked in Communication > Zebra IoT Connector > Configuration page. click on Connect button in Communication > Zebra IoT Connector > Connection page.

  • Download and import the Postman Collection for Local Rest

  • Edit the reader-ip and protocol postman variables appropriately.

  • Get JWT Token using the Login API as shown below.

    ../../_images/local_rest_login.png
  • Insert the JWT token in the Authorization header as Bearer Token in PUT Mode API.

    ../../_images/put_mode_auth.png
  • Insert the Body for the Operating Mode as per the table provided in the above section and click on Send.

    ../../_images/put_mode_body.png

Example

In this section an example FxConnect Inventory Control configuration will be converted to IoT Connector Operating Mode.

Example FxConnect Inventory Control Configuration

The Above configuration can be converted to the IoT Connector Operating Mode as below.

Operating Mode for the FxConnect Inventory Control shown above.
{
 "type": "CUSTOM",
 "radioStartConditions": {
   "type": "GPI",
   "gpis": [{
     "port": 1,
     "signal": "HIGH"
   }]
 },
 "radioStopConditions": {
   "tagCount": 100
 },
 "query":{
   "session": "S0"
 },
 "reportFilter": {
   "duration": 5,
   "type": RADIO_WIDE
 }
}