com.ugrokit.api.UgiInventoryDelegate.InventoryDidStopListener Interface Reference

Overview

Interface to implement to get inventoryDidStop notification.

Public Member Functions

void inventoryDidStop (int completedResult)
 The reader has stopped doing inventory. More...
 

Public Attributes

int UGI_INVENTORY_COMPLETED_OK = 0
 Values passed to inventoryDidStopWithResult. More...
 
int UGI_INVENTORY_COMPLETED_ERROR_SENDING = 98
 Error sending inventory command to reader.
 
int UGI_INVENTORY_COMPLETED_LOST_CONNECTION = 99
 Lost connection.
 
int UGI_INVENTORY_COMPLETED_SPI_NOT_WORKING = 1
 Reader error.
 
int UGI_INVENTORY_COMPLETED_ENABLE_PIN_NOT_WORKING = 2
 Reader error.
 
int UGI_INVENTORY_COMPLETED_INTERRUPT_PIN_NOT_WORKING = 3
 Reader error.
 
int UGI_INVENTORY_COMPLETED_HF_NOT_SUPPORTED = 4
 Reader error.
 
int UGI_INVENTORY_COMPLETED_CRYSTAL_NOT_STABLE = 5
 Reader error.
 
int UGI_INVENTORY_COMPLETED_PLL_NOT_LOCKED = 6
 Reader error.
 
int UGI_INVENTORY_COMPLETED_BATTERY_TOO_LOW = 7
 Battery level is too low to run inventory.
 
int UGI_INVENTORY_COMPLETED_TEMPERATURE_TOO_HIGH =8
 Grokker temperature is too high. This should only happen in a very hot environment.
 
int UGI_INVENTORY_COMPLETED_NOT_PROVISIONED =9
 Grokker is not provisioned. This should never happen.
 
int UGI_INVENTORY_COMPLETED_REGION_NOT_SET =10
 The region (of the world) has not been set.
 

Member Function Documentation

◆ inventoryDidStop()

void com.ugrokit.api.UgiInventoryDelegate.InventoryDidStopListener.inventoryDidStop ( int  completedResult)

The reader has stopped doing inventory.

This can happen multiple times during a single startInventory call, since the reader can be connected and disconnected from the host.

Parameters
completedResultResult of inventory: UGI_INVENTORY_COMPLETED_xxx

Member Data Documentation

◆ UGI_INVENTORY_COMPLETED_OK

int com.ugrokit.api.UgiInventoryDelegate.InventoryDidStopListener.UGI_INVENTORY_COMPLETED_OK = 0

Values passed to inventoryDidStopWithResult.

Inventory completed normally