PAN1322
Application Note
31
Revision 1.2, 2013-12-18
Design Guide
Depending on which service that is connected the host application can choose to handle the
connection with different actions, see
Figure 11. Handling incoming connection depending on service.
For example if the connection contains the first service it can choose to just be a cable replacer. If it
contains the iPhone service, it shall also initiate a specific Apple authentication before being able to
send and receive data. If it contains the third random UUID (Android specific) it can take a proprietary
actions that only is used together with remote devices that has the same UUID.
5.1.3.5
Smart Phone connecting to Accessory
The accessory is normally a device B and the general SPP-AT sequence for enabling the eUniStone to
be connected by a Smart Phone is;
Table 6. Accessory (eUniStone) set to connectable, device B
Step
Direction
Command/Response
Note
1
Host
AT+JRES
Reset of eUniStone
eUniStone
ROK
2
Host
AT+JSEC=4,1,04,1111,1,1
Enable Security with
Input capabilities: Button
Output capabilities: YesNo
+RCCRCNF with
Service #1
+RCCRCNF with
Service #2
+RCCRCNF with
Service #3
Handle service #1
Serial Port Profile
Handle service #2
iPhone
Handle service #3
Random UUID
No
No
Yes
Yes
Yes
Incomming
Connection
No (Not possible)