Skip to content

Cash Drawer Discovery

The device discovery functionality of Cash Drawer Manager:

  • discovers any connected Star Micronics or other cash drawer devices
  • registers to receive device status updates
  • registers to receive action result updates
  • handles the reception of notifications related to:
    • connection status
    • battery levels

So, related to the last point above, there are two main tasks for you:

  • implement the connectionStatusDidChange
  • implement the batteryLevelDidChange

The User Interface

A typical user interface might look like this:

The Sample Code

For simplicity, the sample code utilizes the first cash drawer that is found, however, if necessary you can handle this in a more sophisticated way and deal with more than one scanner.

ObjC

Swift

Universal Windows Platform SDK coming soon