> For the complete documentation index, see [llms.txt](https://developer.magtek.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.magtek.com/programmers-resources/programmers-resources/sdk-programmers-manuals/universal-sdk-magtek-devices-programmers-manual-android/enumerations/enumerations-b-e.md).

# Enumerations - B - E

## BarCodeFormat

This enum refers to the type of barcodes to display.

| Enum            | Description                        |
| --------------- | ---------------------------------- |
| BLOB            | Data is binary format              |
| COMMAND         | Data is a command in binary format |
| BLOB\_BASE64    | Data is Base64 encoded format      |
| COMMAND\_BASE64 | Data is a command in Base64 format |

## BarCodeType

This enum refers to the type of barcodes to display.

| Enum   | Description |
| ------ | ----------- |
| QRCODE | QR code     |

## CaptureType

This enum refers to the type of customer information to capture.

| Enum                 | Description                        |
| -------------------- | ---------------------------------- |
| Unavailable          | Capture unavailable                |
| PhoneNumber          | Capture the phone number           |
| SocialSecurityNumber | Capture the social security number |
| ZipCode              | Capture the zip code               |
| EmployeeID           | Capture Employee ID number         |
| BirthDate            | Capture birth date in USA format   |

## ConnectionState

This enum refers to the readiness of the SDK to communicate with the device. This is not the physical attachment to a host system.

| Enum          | Description                                                                           |
| ------------- | ------------------------------------------------------------------------------------- |
| Unknown       | Device is in an unknown connection state.                                             |
| Disconnected  | Device is disconnected.                                                               |
| Connecting    | Device is in the process of connecting. The next state is to be Connected.            |
| Error         | There was an error either connecting or disconnecting the device.                     |
| Connected     | Device is connected and ready for transacting.                                        |
| Disconnecting | Device is in the process of disconnecting. The next state will is to be Disconnected. |

## ConnectionType

This enum refers to the communication interface type of MagTek reader which the SDK will control.

| Enum                | Description                                                                                                                                                                                                                                                                                        |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| USB                 | <p>Universal Serial Bus supported devices:<br><br>· eDynamo<br>· DynaPro<br>· mDynamo<br>· DynaPro Go<br>· Dynamag<br>· DynaPro Mini<br>· DynaMax<br>· DynaFlex<br>· tDynamo<br>· DynaFlex Pro<br>· kDynamo<br>· DynaFlex II PED<br>· cDynamo<br>· DynaProx<br>· iDynamo 6<br>· DynaFlex II Go</p> |
| BLUETOOTH\_LE       | <p>Bluetooth Low Energy devices:<br><br>· DynaMax<br>· DynaFlex II Go</p>                                                                                                                                                                                                                          |
| BLUETOOTH\_LE\_EMV  | <p>Bluetooth Low Energy with EMV supported devices:<br><br>· eDynamo</p>                                                                                                                                                                                                                           |
| BLUETOOTH\_LE\_EMVT | <p>Bluetooth Low Energy with EMV supported devices:<br><br>· tDynamo</p>                                                                                                                                                                                                                           |
| TCP                 | <p>Transmission Control Protocol supported devices:<br><br>· DynaPro</p>                                                                                                                                                                                                                           |
| TCP\_TLS            | <p>Transmission Control Protocol with Transport Layer Security supported devices:<br><br>· DynaPro Go</p>                                                                                                                                                                                          |
| TCP\_TLS\_TRUST     | <p>Transmission Control Protocol with Transport Layer Security supported devices:<br><br>· DynaPro Go</p>                                                                                                                                                                                          |
| WEBSOCKET           | <p>WebSocket supported devices:<br><br>· DynaFlex Pro<br>· DynaFlex II PED</p>                                                                                                                                                                                                                     |
| WEBSOCKET\_TRUST    | <p>WebSocket supported devices. This will establish a TLS connection to device without requirement for name match.<br><br>· DynaFlex Pro<br>· DynaFlex II PED</p>                                                                                                                                  |
| SERIAL              | UART supported devices                                                                                                                                                                                                                                                                             |
| AIDL                | <p>AIDL devices:<br><br>· DynaGlass</p>                                                                                                                                                                                                                                                            |
| VIRTUAL             | Virtual devices                                                                                                                                                                                                                                                                                    |
| MQTT                | <p>MQTT<br><br>· DynaFlex II PED</p>                                                                                                                                                                                                                                                               |

## DataEntryType

This enum is reserved for future use.

| Enum           | Description                            |
| -------------- | -------------------------------------- |
| PIN            | Request Personal Identification Number |
| Signature      | Request Signature                      |
| SSN            | Request Social security number         |
| ZIPCODE        | Request Zip code                       |
| BirthDate      | Request Birth date                     |
| ActivationCode | Request Activation code                |

## DeviceEvent

This enum refers to a change in the device status.

| Enum                      | Description                                                                                                                                                                                                               |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| None                      | No event to report.                                                                                                                                                                                                       |
| DeviceResetOccured        | A device reset had occurred.                                                                                                                                                                                              |
| DeviceResetWillOccur      | A device reset will occur soon. Host application may uses this as a warning to take appropriate actions.                                                                                                                  |
| DeviceBondingFailure      | Host fails to pair with device.                                                                                                                                                                                           |
| DeviceTemperatureLow      | The device’s temperature falls below the temperature set in Low Temperature Notification Level.                                                                                                                           |
| DeviceTemperatureHigh     | The device’s temperature rises below the temperature set in High Temperature Notification Level.                                                                                                                          |
| DeviceBatteryLow          | The battery charge reaches 15 percent. If a device is powered on with a charge that is already 15 percent or below, this notification is sent shortly after power up.                                                     |
| DeviceBatteryLowPowerDown | This notification is sent one minute before it automatically powers down the device. This occurs when the battery charge has reached 0 percent. Shutdown can be prevented by connecting the device to a USB power source. |

## DeviceFeature

This enum refers to a featured supported by the device.

| Enum              | Description                   |
| ----------------- | ----------------------------- |
| None              | No feature.                   |
| SignatureCapture  | Supports signature capture    |
| PINEntry          | Supports PIN entry            |
| PANEntry          | Supports PAN entry            |
| ShowBarCode       | Supports display of a barcode |
| ScanBarCode       | Supports scanning a barcode   |
| DisplayMessage    | Supports display of messages  |
| Buzzer            | Has a buzzer                  |
| CardEmulation     | Supports NFC card emulation   |
| PersonalInfoEntry | Supports personal info entry  |

## DeviceType

This enum refers to the type of MagTek reader which the SDK will control.

| Enum   | Description                                                                                                                                                                                         |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| SCRA   | <p>Secure Reader Authenticator devices. List includes but not limited to:<br><br>\* eDynamo<br>\* mDynamo<br>\* Dynamag<br>\* DynaMax<br>\* tDynamo<br>\* kDynamo<br>\* cDynamo<br>\* iDynamo 6</p> |
| PPSCRA | <p>PIN Pad Secure Reader Authenticator devices. List includes but not limited to:<br><br>\* DynaPro<br>\* DynaPro Go<br>\* DynaPro Mini</p>                                                         |
| CMF    | <p>Common Message Structure devices. List includes but not limited to:<br><br>\* oDynamo</p>                                                                                                        |
| MMS    | <p>Apollo class devices.<br><br>List includes but not limited to:<br><br>\* DynaFlex<br>\* DynaFlex Pro<br>\* DynaProx</p>                                                                          |

## ErrorType

This enum refers to the type of connection error.

| Enum                  | Description                               |
| --------------------- | ----------------------------------------- |
| Unknown               | Device is in an unknown connection state. |
| TimedOut              | Device has timed out.                     |
| BluetoothOff          | Bluetooth is off.                         |
| BluetoothUnauthorized | Bluetooth not paired.                     |
| NetworkOff            | Network is off.                           |
| NetworkUnreachable    | Network is unreachable.                   |
| SecurityRejected      | Security rejected.                        |
| SecurityFailed        | Security failed.                          |
| ConnectionFailed      | Connection failed.                        |

## EventType

This enum refers to the type of event triggered by the device.

| Enum                                            | Description                                                                                                                                                           |
| ----------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ConnectionState                                 | There was a change in the connection state of the device.                                                                                                             |
| DeviceResponse                                  | Device has responded to a command.                                                                                                                                    |
| DeviceExtendedResponse                          | Device has responded to an extended command.                                                                                                                          |
| DeviceNotification                              | Device has sent a notification.                                                                                                                                       |
| CardData                                        | Device has sent magnetic stripe data from a card swipe.                                                                                                               |
| TransactionStatus                               | There was a change in transaction status.                                                                                                                             |
| DisplayMessage                                  | Device has a message to display for the user.                                                                                                                         |
| ClearDisplay                                    | Device has notified to clear the display of user messages on host app.                                                                                                |
| InputRequest                                    | Device is requesting input from the user.                                                                                                                             |
| EnhancedInputRequest                            | Device is requesting input for enhanced application selection in response to entering the card’s payment system environment.                                          |
| AuthorizationRequest                            | Device has sent the Authorization Request Cryptogram and associated block of EMV tags for a transaction. This block is meant to be sent to the transaction processor. |
| TransactionResult                               | Device has sent the result of the transaction.                                                                                                                        |
| PINBlock                                        | Device has sent the PINBlock after the user has entered a PIN on the device.                                                                                          |
| Signature                                       | Device has sent data which represents a signature from a user.                                                                                                        |
| DeviceDataFile                                  | Device has sent a data file.                                                                                                                                          |
| OperationStatus                                 | Device has sent an operation status of a command.                                                                                                                     |
| DeviceEvent                                     | Device has sent change of device state.                                                                                                                               |
| UserEvent                                       | Device has sent a notification related to user interaction with the device.                                                                                           |
| FeatureStatus                                   | Device has sent status of a feature.                                                                                                                                  |
| PINData                                         | Device has sent data related to a PIN.                                                                                                                                |
| PANData                                         | Device has sent data related to a PAN.                                                                                                                                |
| BarCodeData                                     | Device has sent barcode data.                                                                                                                                         |
| NFCEvent                                        | Device has sent NFC event.                                                                                                                                            |
| NFCData                                         | Device has sent NFC data.                                                                                                                                             |
| NFCResponse                                     | Device has sent response to and NFC command.                                                                                                                          |
| NFCAPDUResponse                                 | Device has sent response to an NFC APDU command for Mifare DESFire Tag.                                                                                               |
| NFCCardData                                     | Device has sent NFC card data.                                                                                                                                        |
| NFCDeviceEngagementData                         | Device has sent data after NFC engagement.                                                                                                                            |
| NFCPassThroughData                              | Device has sent NFC Pass-Through data.                                                                                                                                |
| NFCPassThroughResponse                          | Device has sent a response to NFC Pass- Through exchange.                                                                                                             |
| GPOResponse                                     | Device has GPO response.                                                                                                                                              |
| TouchscreenSignatureCapture                     | Device has sent response to signature capture.                                                                                                                        |
| TouchscreenFunctionalButtonSelected             | Device has sent a notification of a functional button selected.                                                                                                       |
| TouchscreenTextStringButtonSelected             | Device has sent a notification of a test string button selected.                                                                                                      |
| TouchscreenAmountButtonSelected                 | Device has sent a notification of an amount button selected.                                                                                                          |
| TouchscreenPresentCardFunctionalBut tonSelected | Device has sent a notification of a present card functional button selected.                                                                                          |
| TouchscreenPersonalInfoEntry                    | Device has sent a personal info entry.                                                                                                                                |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.magtek.com/programmers-resources/programmers-resources/sdk-programmers-manuals/universal-sdk-magtek-devices-programmers-manual-android/enumerations/enumerations-b-e.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
