User's Manual

Enhanced Class 1 Bluetooth v2.1 Module
User’s Guide
Americas: +1-800-492-2320 Option 2
Europe: +44-1628-858-940
Hong Kong: +852-2923-0610
www.lairdtech.com/wireless
105
CONN-GUIDE-BT740_v0.2
0
LENGTH
22
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_ENDPOINT]
3
FLOW_IN
??
Runtime value
4..5
SpecType[2]
As per IEEE spec
[4]=msb,[5]=lsb
Data Specialization code.
For example: 100F (4111 dec) for Weigh Scale
6..21
Name[15+1]
Null Terminated Name
Maximum name size is 15 and name MUST be
terminated by a NULL
Response Packet
Offset
Field
Value
Comments
0
LENGTH
5
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_ENDPOINT]
3
FLOW_OUT
??
Runtime value
4
STATUS
As appropriate
Create multiple data specialization endpoints by submitting this command an appropriate number of times.
Internally in the module, the SpecType[2] and Name[15+1] information caches in heap memory until the
command CMD_HDP_SDPREGISTER transfers that information into the SDP record for final submission
to the underlying Bluetooth stack.
8.17.3 Register SDP record
This command registers and activates an HDP related SDP record after creating the endpoints using
CMD_HDP_ENDPOINT. Only after this is done can incoming HDP connections be serviced.
It is not necessary to specify which role explicitly in the command because S Reg 70 determines whether
the module is configured for an Agent or Manager role. For Agent role SReg 70 is set to 0 and 1 for
Manager.
This command is relevant for both Agent and Manager roles.
Command Packet
Offset
Field
Value
Comments
0
LENGTH
4
Fixed
1
CHANNEL
0
Fixed
2
COMMAND
[CMD_HDP_SDPREGISTER]
3
FLOW_IN
??
Runtime value
Response Packet
Offset
Field
Value
Comments