Depending on which service that is connected the host application can choose to handle the
connection with different actions, see
Incomming
Connection
+RCCRCNF with
Service #1
Yes
Handle service #1
Serial Port Profile
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
Host
1
eUniStone
Host
2
Application Note
Design Guide
Figure
No
+RCCRCNF with
Service #2
Yes
Handle service #2
iPhone
Command/Response
AT+JRES
ROK
AT+JSEC=4,1,04,1111,1,1
11.
No
+RCCRCNF with
Service #3
Yes
Handle service #3
Random UUID
31
PAN1322
No (Not possible)
Note
Reset of eUniStone
Enable Security with
Input capabilities: Button
Output capabilities: YesNo
Revision 1.2, 2013-12-18