Overview
This sample demonstrates the EMDK Serial Communication API to enable support for DEX in your application. DEX (data exchange) is a format for collecting audit and event data from vending machines.
Note: In order to use Serial Read functionality, you must first apply a patch provided in SPR-28877. To obtain this patch, contact Zebra Support.
Prerequisites
- Java JDK
- Eclipse with ADT plugin or Android Studio
- EMDK for Android
- An EMDK supported Android device
Items Needed
- One of the approved devices listed above
- TC7X SNAP On DEX cable ( CBL-TC7X-DEX1-01 )
For more information about setting up the EMDK please see the EMDK Setup Guide.
Loading the Sample Application
The following guide will walk you through setting up the EMDK samples in your IDE.
Using This Sample
- With the Snap on DEX cable attached, the application should look like the following when it starts.
- Press the Write button. The application should display a message that it has sent the text from the edit field in number of bytes sent in the status area.
- Press the Read button. The application will continue to read for 10 seconds and then display the read data in the status area.