
PAN1322
Application Note
29
Revision 1.2, 2013-12-18
Design Guide
t:
3
2
1
0
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
1
1
0
0
0
0
0
CoD = 0x000560, details about the bits are available at https://www.bluetooth.org under the section
called “Assigned numbers, Baseband”.
Table 5. CoD examples for some accessories.
Accessory
Class of Device
Comment
Sensor
0x001F00
Uncategorized device
Display
0x000610
Imaging, Display
Remote control
0x00050C
Peripheral, Not Pointing device, Remote control
Display with settings
0x000610
Imaging, Display
Keyboard
0x000540
Peripheral, Keyboard
Handheld terminal
0x000560
Peripheral, Keyboard, Handheld scanner
iPhone SPP accessory
0x240704
Audio, Rendering, Wearable, Wristwatch
The CoD is set to 0x240704 in the below example and works with all three Smart Phones in this
document, and it is iPhone requiring it for Accessories. In the following examples, the service name is
“Serial port” and is set to port 0x01 (possible values are 0x01-0x30), furthermore it starts with length
field for UUID and service name.
1.
Registering a service with short UUID: AT+JRLS=04,11,1101,Serial port,01,240704
2.
Registering a service with long UUID:
AT+JRLS=32,11,0000110100001000800000805F9B34FB,Serial port,01,240704
Figure 9. Smart Phone Apps using Serial Port Profile UUID connecting to Serial port accessory.
When the UUID with the Serial Port Profile is used any other device or mobile phone application which
use the Serial Port Profile can connect to the Accessory with eUniStone (iPhone require a specific long
UUID).
eUniStone with Serial
Port Profile UUID
Win Phone App with Serial Port
Profile UUID
iPhone App with own UUID
Android Phone App with Serial
Port Profile UUID