2 - Connection Types
2.2
How to Use Apple iOS UART Connections (30-Pin Only)
When the device is connected to an iOS host via the Apple 30-pin dock connector, custom apps use iPod
Accessory Protocol (iAP1) to communicate with the device using the EASession class. The custom
software wraps commands in simple Get/Set wrappers, also called a UART packet header. The device
firmware expects to receive and send data using the same formats produced by the iAP
iPodDataTransfer and AccessoryDataTransfer commands, respectively. Documentation for
these formats is available from Apple, specifically in MFi Accessory Firmware Specification R44 (see
http://developer.apple.com/programs/mfi/). Sample code is available in the form of Apple's EADemo
app; see https://developer.apple.com/library/IOS/samplecode/EADemo/Introduction/Intro.html.
Because the device's command set is common to all connection types, it is also helpful to read section
2.1.1 About HID Usages to become familiar with the types of available commands.
The devices only use TXD and RXD; hardware handshaking is not available. The serial settings are
57600 bps, No parity, 8 data bits, and 1 stop bit. Code upgrade commands are not available through
this connection. To communicate with a device using the UART connection, the host should begin all
commands and responses with the following UART packet header:
Table 2-2 - iOS UART Packet Header
Bit
7
0x00 = Get
Byte 0
0x01 = Set
Byte 1..n
Command/Response as defined in section 3 Command Set.
IMPORTANT: Generally, iOS commands must be transmitted in MSB (big endian) order.
By convention, this document gives commands in LSB (little endian) order.
DynaPro Mini| PIN Encryption Device | Programmer's Manual (Commands)
6
5
4
Page 23 of 128 (D99875629-43)
3
2
1
0
Need help?
Do you have a question about the DynaPro Mini and is the answer not in the manual?
Questions and answers