S42/Central Software User Guide
1VV0301318 Rev. 3
– 2018-08-31
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 30 of 66
3.2.1.7.
Accept Incoming Terminal I/O Connection
During the active GATT server connection to maximum three peripheral devices it is possible
to handle one Terminal I/O connection in parallel.
The following example lists the serial communication of an incoming Terminal I/O connection
(i.e. from a mobile phone).
cc ff 06 0d 0a 52 49 4e 47
cc ff 02 0d 0a
RING
cc ff 0d 0d 0a 43 4f 4e 4e 45 43 54 20 54 49 4f cc ff
05 20 30 78 30 31
cc ff 02 0d 0a
CONNECT TIO 0x01
The S42/Central reports an incoming Terminal I/O connection with the result
message „CONNECT“ include the connection type „TIO“ and a connection handle “0x01”.
The given connection handle is required for further activities onto this Terminal I/O connection.
3.2.1.8.
Exchange Data on the Terminal I/O Connection
During the active Terminal I/O connection in the multiplexing mode the data needs to be
exchanged on the given connection handle which is also used as MUX channel ID.
The following example demonstrates the serial data exchange between the
S42/Central and the connected Bluetooth device using the Terminal I/O profile.
cc 01 0b 31 32 33 34 35 36 37 38 39 30
1234567890
cc 01 14 30 30 30 30 30 30 30 31 20 61 62 63 64
00000001 abcd
The S42/Central received the serial MUX data content “1234567890” from the host
controller and send it to the Terminal I/O client (i.e. mobile phone) with connection handle and
MUX channel “0x01”.
The mobile phone sends back the response message “00000001 abcd” over the air to the
S42/Central which is transferred onto the MUX channel “0x01” to the serial
interface.